{# Fuzzy matching for all kind of stuff #} {{ add_source('junegunn/fzf', {'do': './install --bin'}) }} {{ add_source('junegunn/fzf.vim') -}} let g:fzf_layout = { 'down': '~40%' } let g:fzf_colors = \ { 'fg': ['fg', 'Normal'], \ 'bg': ['bg', 'Normal'], \ 'hl': ['fg', 'Comment'], \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], \ 'hl+': ['fg', 'Statement'], \ 'info': ['fg', 'PreProc'], \ 'border': ['fg', 'Ignore'], \ 'prompt': ['fg', 'Conditional'], \ 'pointer': ['fg', 'Exception'], \ 'marker': ['fg', 'Keyword'], \ 'spinner': ['fg', 'Label'], \ 'header': ['fg', 'Comment'] } let g:fzf_command_prefix = 'Fzf' nmap gF :FzfFiles nmap gf :FzfGFiles nmap gb :FzfBuffers nmap gL :FzfLines nmap gl :FzfBLines nmap gT :FzfTags nmap gt :FzfBTags nmap gm :FzfMarks nmap gw :FzfWindows nmap gh :FzfHistory nmap gH :FzfHistory: nmap gS :FzfHistory/ nmap gs :FzfSnippets " TODO `gd` → go to tag matching selected word, or show a list with that " of tags pre-filtered with that word