Table of Contents

Vim

Vim is a modal text editor. This page covers its configuration in ~/.vimrc. Key settings:

Formatting

Display

Key Bindings

Binding Action
<leader>w Save
<leader>q Quit
<leader>x Save and quit
<leader><space> Clear search highlight
F2 Toggle paste mode

Gophermap Special Case

.vimrc detects gophermap filenames and sets noexpandtab: gophermaps require real tab characters.

See Also