" 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 "textwidth=80 expandtab
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 <F6> <Esc>:set number!<CR>
map <F9> <Esc>:setlocal spell spelllang=en_gb<CR>
map <F10> <Esc>:setlocal nospell<CR>
" 3match NonText /\%>80v/ " Highlight all text right of virtual column 80