" Arun Prasannan's vimrc " Last modified: 2007-07-08 set nocompatible set backspace=indent,eol,start set fileencodings=utf-8,latin1 set autoindent incsearch wildmenu smartindent linebreak smartcase set showcmd showmatch hlsearch ruler backup warn history=59 set showbreak=>> listchars=tab:>-,trail:_ list set softtabstop=4 shiftwidth=4 tabstop=4 expandtab "textwidth=80 set mouse=a "ttymouse=xterm syntax on colorscheme slate filetype plugin indent on autocmd FileType text setlocal textwidth=78 autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif map :set number! map :setlocal spell spelllang=en_gb map :setlocal nospell " 3match NonText /\%>80v/ " Highlight all text right of virtual column 80