denite maps
This commit is contained in:
parent
40b70b98d8
commit
ee43fabed2
1 changed files with 2 additions and 0 deletions
2
.vimrc
2
.vimrc
|
|
@ -612,6 +612,7 @@ nnoremap <Leader>fn :lnext<CR>
|
|||
" Prev quickfix.
|
||||
nnoremap <Leader>fp :lprev<CR>
|
||||
nnoremap <silent> <Leader>aw :<C-u>DeniteCursorWord -mode=normal -buffer-name=search-buffer grep<CR>
|
||||
call denite#custom#map('insert', '<Enter>', '<C-o>')
|
||||
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 <silent> <Leader>g :<C-u>Denite -buffer-name=search-buffer grep<CR>
|
||||
" 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 <Leader>hh :A<CR>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue