diff options
| author | Ben Beltran <ben@freshout.us> | 2014-02-07 07:46:13 -0600 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2014-02-07 07:46:13 -0600 |
| commit | ac89930a9876f526b08748a0a21a1c29ce26533e (patch) | |
| tree | 36cb405c01cc5adb9e2f59c82c74f6447ff57436 /vimrc | |
| parent | 93da0d62fe481a91bd289cefca008c81d74f3b6c (diff) | |
Updates w/new configs
Diffstat (limited to 'vimrc')
| -rwxr-xr-x | vimrc | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -183,3 +183,17 @@ function! NumberToggle() endfunction nnoremap <C-n> :call NumberToggle()<cr> + +" Find file and Find stuff to quickfix. +command -nargs=1 Qff :cexpr system('find . \| ag <f-args>') | copen + +function! ToggleCWindow() + if exists("g:qwindow") + cclose + unlet g:qwindow + else + copen + let g:qwindow = 1 + endif +endfunction +nnoremap <C-h> :call ToggleCWindow()<cr> |