" Colors if has("syntax") && (&t_Co > 15) set background=dark syntax enable if (&t_Co > 255) colorscheme desert256 highlight Pmenu ctermfg=0 ctermbg=8 endif endif " Command if has("cmdline_info") set ruler set showcmd endif " Cursors map map map map " Encoding set fileformats=unix,dos,mac if has("multi_byte") set encoding=utf-8 endif " Filetypes if has("autocmd") filetype on filetype plugin on filetype indent on endif " Leaders nnoremap c :set cursorline! cursorcolumn! nnoremap h :set hlsearch! nnoremap l :set list! nnoremap n :set number! nnoremap p :set paste! nnoremap r :set relativenumber! nnoremap s :set spell! nnoremap w :set wrap! " Miscellaneous set backspace=indent,eol,start set scrolloff=1 set shortmess+=I set visualbell t_vb= " Spelling if has("spell") set spelllang=en_nz endif " Whitespace set expandtab set nojoinspaces set shiftwidth=4 set softtabstop=4 set tabstop=4 " Wrapping set nowrap if has("linebreak") set linebreak endif