Clean up rc files & allow local versions

This commit is contained in:
Andrew Miner
2017-07-31 10:00:42 -07:00
parent 3a56f5e178
commit 22c8a5d877
2 changed files with 13 additions and 19 deletions
+10
View File
@@ -69,6 +69,7 @@ endif
" ctrlpvim/ctrlp.vim
let g:ctrlp_working_path_mode = 0
let g:ctrlp_regexp = 1
if executable('ag')
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
let g:ctrlp_use_caching = 0
@@ -90,6 +91,15 @@ let g:indent_guides_enable_on_vim_startup = 0 " :IndentGuidesToggle
map <F1> :NERDTreeToggle<CR>
map <F2> :NERDTreeFind<CR>
map <F3> :'a,.!sort<CR>
map <F4> :IndentGuidesToggle<CR>
map <F5> :e<CR>
map <F6> :set hlsearch!<CR>
map <F7> :cp<CR>
map <F8> :copen<CR>
map <F9> :cn<CR>
" Local Overrides ######################################################################################################
if !empty(glob("$HOME/.vimrc.local"))
source $HOME/.vimrc.local
endif