From dfc7166126d2df14450145d6701c5d78d2865df7 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 4 Nov 2019 11:56:18 +0100 Subject: [PATCH] [ADD][VIM] Mapping search using fzf --- vim/.vim/after/plugin/mappings/fzf.vim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/vim/.vim/after/plugin/mappings/fzf.vim b/vim/.vim/after/plugin/mappings/fzf.vim index 9060390..8cfb8b8 100644 --- a/vim/.vim/after/plugin/mappings/fzf.vim +++ b/vim/.vim/after/plugin/mappings/fzf.vim @@ -1,20 +1,38 @@ " Only git-tracked files, Vim needs to be in a Git repository nnoremap fg :GFiles + " All files nnoremap ff :Files + " Currently open buffers nnoremap fb :Buffers + " Buffer history nnoremap fh :History + " Tags in buffer nnoremap ft :BTags + " Tags in all project files nnoremap fT :Tags + " Snippets for the current fileytpe (using Ultisnips) nnoremap fs :Snippets + " All available commands nnoremap f: :Commands + " All commits (using fugitive) nnoremap fc :Commits + " All commits for the current buffer (using fugitive) nnoremap fC :BCommits + +" Select normal mode mapping by searching for its name +nmap (fzf-maps-n) + +" Select visual mode mapping by searching for its name +xmap (fzf-maps-x) + +" Select operator pending mode mapping by searching for its name +omap (fzf-maps-o)