diff --git a/.vimrc b/.vimrc index 04f5d8a..e829aa8 100644 --- a/.vimrc +++ b/.vimrc @@ -612,6 +612,7 @@ nnoremap fn :lnext " Prev quickfix. nnoremap fp :lprev nnoremap aw :DeniteCursorWord -mode=normal -buffer-name=search-buffer grep +call denite#custom#map('insert', '', '') call denite#custom#var('grep', 'command', ['pt']) call denite#custom#var('grep', 'default_opts', \ ['--nogroup', '--nocolor', '--smart-case']) @@ -620,6 +621,7 @@ call denite#custom#var('grep', 'pattern_opt', []) call denite#custom#var('grep', 'separator', ['--']) call denite#custom#var('grep', 'final_opts', []) call denite#custom#option('search-buffer', 'highlight_matched_char', 'deniteMatchedChar') +nnoremap g :Denite -buffer-name=search-buffer grep " For C++ -- A is a great plugin which allows you to jump from the c file to the " header and vice-versa. Mneumonic here is headerheader. nnoremap hh :A