update bar, uptade mutt with nomuch
[dotfiles.git] / .vimrc
1 execute pathogen#infect()
2 syntax enable
3 filetype indent plugin on
4
5 autocmd! bufwritepost .vimrc source %
6 autocmd! bufwritepost .bashrc !source %
7 autocmd! bufwritepost .Xresources !xrdb -merge %
8
9 set encoding=utf-8
10 set history=1000
11 set number
12 set ruler
13 set backspace=eol,start,indent
14 set whichwrap+=<,>,h,l
15 set incsearch
16 set noerrorbells
17 set novisualbell
18 set nobackup
19 set nowb
20 set noswapfile
21 set shiftwidth=2
22 set tabstop=2
23 set cc=80
24 set textwidth=79
25
26 map <TAB>l <C-W>l
27 map <TAB>h <C-W>h
28 map <TAB>j <C-W>j
29 map <TAB>k <C-W>k
30
31 nnoremap n nzzzv
32 nnoremap N Nzzzv
33
34 for prefix in ['i', 'n', 'v']
35 for key in ['<UP', '<DOWN>', '<LEFT>', '<RIGHT>']
36 exe prefix . "noremap " . key . " <Nop>"
37 endfor
38 endfor
39
40 let g:GPGPreferArmor=1
41 let g:GPGPreferSign=1