Plug 'vijaymarupudi/nvim-fzf' " Pre-requisite
Plug 'dkendal/nvim-viper'
Key binding | effect |
---|---|
<ctrl-g>, <ctrl-c>, <ctrl-d>, <esc> | exit |
<enter> | make selection |
Buffer listing, previews selection.
List register contents, selection
Supply a shell command that produces a list of files.
Supply a shell command that produces vimgrep output. Previews each selection while filtering
Viper doesn’t ship with any keybindings. Here are some suggestions:
nn <leader>bb :ViperBuffers<cr>
nn <leader>pr :ViperRegisters<cr>
nn <leader>ff :ViperFiles fd<cr>
nn <leader>/ :ViperGrep rg --vimgrep<space>
vn <leader>/ y:<C-u> :ViperGrep rg --vimgrep -w -- <C-r>0<CR>