more maps for denite

This commit is contained in:
Barak Michener 2018-02-02 17:42:08 -08:00
parent 03a1f90b29
commit 29d3373746

2
.vimrc
View file

@ -611,6 +611,8 @@ nnoremap <Leader>ss :SyntasticSetLoclist<CR>
nnoremap <Leader>fn :lnext<CR>
" Prev quickfix.
nnoremap <Leader>fp :lprev<CR>
nnoremap <silent> <Leader>aa :<C-u>Denite -mode=normal -buffer-name=search-buffer grep<CR>
nnoremap <silent> <Leader>ac :<C-u>Denite -resume -mode=normal -buffer-name=search-buffer<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'])