Favorite minimalistic .vimrc configuration

Viewed 39827

There are .vimrc related questions found here and here.

This question wants to deal with a minimalistic .vimrc file.

If you are on a new machine with no .vimrc file what are some 'must turn on' commands you use before doing any typing?

10 Answers

Here's my minimal settings with comments:

set backspace=2         " backspace in insert mode works like normal editor
syntax on               " syntax highlighting
filetype indent on      " activates indenting for files
set autoindent          " auto indenting
set number              " line numbers
colorscheme desert      " colorscheme desert
set nobackup            " get rid of anoying ~file
Related