" Use Vim settings, rather then Vi settings (much better!). " This must be first, because it changes other options as a side effect. set nocompatible syntax enable set cindent shiftwidth=2 set expandtab set foldmethod=marker " allow backspacing over everything in insert mode set backspace=indent,eol,start "if has("vms") " set nobackup " do not keep a backup file, use versions instead "else " set backup " keep a backup file "endif set nobackup set history=50 " keep 50 lines of command line history set ruler " show the cursor position all the time set showcmd " display incomplete commands set incsearch " do incremental searching set background=dark