aboutsummaryrefslogtreecommitdiff
path: root/files/.vimrc
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2017-05-09 00:20:12 +0500
committerAnton Bobov <abobov@gmail.com>2017-05-09 00:20:12 +0500
commitf48a20fe77b94474260eb5d46dc6883ce0705803 (patch)
tree8c52ef9247f5e33c80a88d043799b8ed338f224b /files/.vimrc
parent88ec0d5588c4da7927b5d9f295e47dbe0bf71c29 (diff)
Vim config updates.
- run macros with Q - use ag for ctrlp file listings
Diffstat (limited to 'files/.vimrc')
-rw-r--r--files/.vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/files/.vimrc b/files/.vimrc
index cbd8356..f7a764d 100644
--- a/files/.vimrc
+++ b/files/.vimrc
@@ -334,7 +334,7 @@ noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
-nnoremap Q <Nop>
+nnoremap Q @q
" }}}
@@ -552,7 +552,8 @@ let g:templates_directory=$HOME . "/.vim/templates"
" }}}
" Ctrl-P {{{
-let g:ctrlp_user_command = 'find %s -type f'
+let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
+let g:ctrlp_user_caching = 0
" }}}
" }}}