From f1e5077307f1753cb2d0fa25b56343ea5b703cae Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Thu, 3 May 2018 21:04:56 -0700 Subject: [PATCH] Denite-grep word under cursor --- neovim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim/init.vim b/neovim/init.vim index b616c04..3830a81 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -116,6 +116,7 @@ call denite#custom#var('file_rec', 'command', \) map ;g :Denite grep +map ;* :DeniteCursorWord grep call denite#custom#var('grep', 'command', ['rg']) call denite#custom#var('grep', 'default_opts', \ ['--vimgrep', '--no-heading', '--smart-case', '--hidden'])