dotfiles/nvim/.config/nvim/after/plugin/fzf-preview.vim
Sanchayan Maity c25188661b nvim: Add fzf-preview
This plugin provides support for Quickfix and Location list along with
previews. Also, does not do fuzzy match on file names which is useful.
Move some of the commands from fzf to fzf-preview as it provides
previews for those as well.

Using pedit for previews for quickfix list wasn't super comfortable.
Drop it, now that we have quickfix preview with fzf-preview.
2020-09-22 20:33:49 +05:30

10 lines
384 B
VimL

nnoremap <Leader>fg :FZFGGrep<CR>
nnoremap <Leader>fG :FZFGrep<CR>
nnoremap <Leader>fl :FZFBLines<CR>
nnoremap <Leader>f\ :FZFRg<CR>
nnoremap <Leader>fS :exe ':FZFRg ' . expand('<cword>')<CR>
nnoremap <Leader>ft :exe ':FZFTags ' . expand('<cword>')<CR>
nnoremap <Leader>fT :FZFTags<SPACE>
nnoremap <Leader>fq :cclose<CR>:FZFQuickFix<CR>
nnoremap <Leader>fQ :lclose<CR>:FZFLocList<CR>