Previous Next
Configuring the Vim integration

Connection at start-up

  1. Check if the initialization file with the name .vimrc exists in your home directory ( ~/ .vimrc ), if not create it.
  2. Insert the following line in the .vimrc file:
    sniff connect
    Vim connects to SNiFF+ immediately at start-up and will execute the commands contained in the
    .vimrc file at start-up.
Key mappings
  • The key mappings are defined in the sniff.vim file. This file is sourced each time you connect to SNiFF+. You can change these mappings to suit your needs. By default Vim looks for this file in the $SNIFF_DIR/config directory. However it is possible to define another search path. Insert the following into the .vimrc file before the line that contains sniff connect :

  • let sniff_mappings = '<where-your-sniff-mappings-are>'
Merging from vi to Vim