5 " vwv || )_(,;;;, ,;,\_/ www
6 " )_( || \|/ \_/ )_(\| (_)
7 " \| \ || /\\|/ |/ \| \|// |
8 " "___\|//V\\||//_\V/_\|//_______\\|//V/\\|/__
10 "*************** navigation ***************
12 set tags=./tags;../../../../
14 "*************** search stuff ***************
22 "*************** formatting ***************
29 highlight Comment ctermfg=darkcyan
30 highlight Constant ctermfg=red
31 highlight Search cterm=reverse
32 highlight Error ctermfg=white ctermbg=1
38 "*************** bell ***************
42 "*************** movement stuff ***************
48 "*************** gui stuff ***************
54 "*************** comand-mode stuff ***************
55 " This abbreviation makes it easier to type :e <filename>.
56 " When you type '%%' in command mode, it will be expanded to the directory name
57 " of the file you're currently editing.
58 cabbr <expr> %% expand('%:p:h')
60 "*************** colin's auto-commenter ***************
61 map ,/ :s/^/\/\//<CR>:nohlsearch<CR>
62 map ,,/ :s/^\/\///<CR>:nohlsearch<CR>
63 map ,# :s/^/#/<CR>:nohlsearch<CR>
64 map ,,# :s/^#//<CR>:nohlsearch<CR>
65 map ," :s/^/\"/<CR>:nohlsearch<CR>
66 map ,," :s/^\"//<CR>:nohlsearch<CR>
69 map ,w :s/[\t ][\t ]*$//<CR>
71 " More ergonomic key binding for omni-complete
72 inoremap <C-k><C-k> <C-x><C-o>
74 "*************** shortcuts **************
75 map \b :ConqueTermSplit /bin/bash<CR>
76 map \B :ConqueTermVSplit /bin/bash<CR>
77 "command Bash execute ":ConqueTerm bash"
79 "*************** grep plugin ***************
80 :let Grep_Default_Filelist = '*.c *.cpp *.cc *.hpp *.rb *.h *.t *.py *.rst *.go *.java *.S *.scala'
81 :let Grep_Skip_Files = 'core.* *.svn *~ *.swp *.swo *.bak cscope.out cscope.files'
83 "*************** pre-filled registers ******************
84 let @w="Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>"
85 let @s="Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>"
88 highlight DiffAdd ctermfg=NONE ctermbg=grey
89 highlight DiffDelete ctermfg=NONE ctermbg=grey
90 highlight DiffChange ctermfg=NONE ctermbg=grey
91 highlight DiffText ctermfg=NONE ctermbg=grey