A Vim plugin aiming to be an alternative to Vim's built-in :tjump
.
- Filter tag candidates and select a one by fzf
- Show selected tag candidate's code preview
vim-fzf-tjump-demo.mp4
Show tag candidates matched with given tag name and go to selected tag. Go directly if matched tag is only 1.
Use current word (<cword>
) as given tag name if no argument is given or given tag name is an empty string.
Show selected tag's code preview.
A wrapper of fzf_tjump#jump
.
g:fzf_command_prefix
is respected. The command name is :FzfTjump
if you configure as following:
let g:fzf_command_prefix = "Fzf"
vim-fzf-tjump adds no mappings. You can add mappings.
" Press `g]` in normal mode to call `fzf_tjump#jump`.
" Press `g]` in visual mode to call `fzf_tjump#jump` with selected word.
map g] <Plug>(fzf-tjump)
Let's execute as following for more information:
:h vim-fzf-tjump-variables
If you use dein.vim:
call dein#add("kg8m/vim-fzf-tjump")