diff options
author | yushyin <yushyin@saga> | 2019-04-27 17:56:57 +0200 |
---|---|---|
committer | yushyin <yushyin@saga> | 2019-04-27 17:56:57 +0200 |
commit | d12bc362dd422b51757ef32a6ddd73bc4795ea10 (patch) | |
tree | ba07b3ee5d05e7575c45314db5b8e353a76749b8 | |
parent | 0e76b9aaa39acf66bb999e579640725bdb84ff2f (diff) | |
download | dotfiles-d12bc362dd422b51757ef32a6ddd73bc4795ea10.tar.gz dotfiles-d12bc362dd422b51757ef32a6ddd73bc4795ea10.tar.xz |
Vim: Update keymappings for denite.vim
-rw-r--r-- | vim/vimrc | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -50,10 +50,17 @@ catch /E117:/ " dein not installed endtry if dein#tap('denite.nvim') - nnoremap <leader>g :<C-u>Denite grep -auto-preview -split=no -no-empty<CR> - nnoremap <leader>f :<C-u>Denite file_rec -mode=insert<CR> - nnoremap <leader>l :<C-u>Denite buffer -split=no<CR> - nnoremap <leader>r :<C-u>Denite -resume -refresh<CR> + nnoremap [Denite] <Nop> + nmap <leader>d [Denite] + + nnoremap [Denite]g :<C-u>Denite grep -auto-preview -split=no -no-empty<CR> + nnoremap [Denite]f :<C-u>Denite file/rec -mode=insert -split=no<CR> + nnoremap [Denite]l :<C-u>Denite buffer file/old -split=no<CR> + nnoremap [Denite]r :<C-u>Denite -resume -refresh<CR> + + nnoremap [Denite]gf :DeniteCursorWord file/rec<CR> + nnoremap [Denite]gg :DeniteCursorWord grep<Cr> + nnoremap [Denite]g/ :DeniteCursorWord line<Cr> endif if dein#tap('vimfiler.vim') call s:hook_source() |