11.3.5 Vim configuration
In order to use all Vim features and syntax highlighting, include the following
lines in ~/.vimrc or /etc/vimrc:
set nocompatible
set nopaste
set pastetoggle=<f11>
syn on
Paste mode enables one to avoid autoindent interfering with cut-and-paste
operations on a console terminal. It does more than just a simple ":set
noai".
See
Using GnuPG with Vim, Section
14.4.2 for GnuPG integration.