guest@dotshare [~/groups/vim/rc] $ ls vimrc/ | cat

vimrc (scrot, raw, dl)

mixtr Aug 26, 2012 (vim/rc)

SCROT

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
:syntax on
set autoindent
set smartindent
set tabstop=2
set shiftwidth=2
set expandtab						" turn tab to space
set incsearch
set nowrap
set number
set showcmd
set incsearch
set hlsearch
set nocompatible
set t_Co=256 						" use 256 colours
set ignorecase					" ignore case when searching
set background=dark
set cursorline
colorscheme dc3

set statusline=%F%m%r%h%w\ %=%y\ POS=%v,%l\/%L\ \ %p%%
set laststatus=2

filetype on
filetype plugin on
set ofu=syntaxcomplete#Complete

"set spell
setlocal spelllang=en_ca
set spellfile=~/.vim/spellfile.add

highlight clear 		SpellBad
highlight SpellBad 	term=standout 	ctermfg=1
highlight SpellBad 	term=underline 	cterm=underline
highlight	clear			SpellCap
highlight	SpellCap	term=underline	cterm=underline
highlight	clear			SpellRare
highlight	SpellRare	term=underline	cterm=underline
highlight	clear			SpellLocal
highlight	SpellLocal term=underline	cterm=underline

" Mutt
:autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR>
au BufRead /tmp/mutt-* set tw=72
au BufRead /tmp/mutt-* set cc=72
au BufRead /tmp/mutt-* set spell
" LaTeX
:autocmd BufNewFile,BufRead *.tex set ft=tex
:autocmd FileType tex set tw=100
:autocmd FileType tex set cc=100
:autocmd FileType tex set spell

CLICK TO VIEW

x

Notes

I use colorscheme dc3 from bohomil