1 execute pathogen#infect()
2 filetype indent plugin on
11 set backspace=eol,start,indent
12 set whichwrap+=<,>,h,l
27 "set listchars=tab:►\ ,eol:¬,trail:˽,precedes:˻,extends:˼
29 " Source the vimrc while editing
30 autocmd! bufwritepost .vimrc source %
38 " Search results stay in middle of screen
42 " Unmap the arrow keys!!!
43 for prefix in ['i', 'n', 'v']
44 for key in ['<Up>', '<Down>', '<Left>', '<Right>']
45 exe prefix . "noremap " . key . " <Nop>"
49 " Load all the skeletons for newfiles
50 for i in split(globpath('~/.vim/skel/', './*'), '\n')
51 let extension = split(i, "/")[-1]
52 exe "au BufNewFile *." . extension . " 0r ~/.vim/skel/" . extension