I currently use tagbar to list all the methods in my php files. However I have to do several steps in order to navigate to a specific method in the file like so:
- run the keyboard shortcut to display tagbar (
F8
) - jump from the left pane to the right ctrlw + →
- search for the said method name or navigate to it using the keyboard
I would like to simply hit a keyboard shortcut, and i would be able to simply fuzzy search the methods in the existing file and jump to it, similar to how the fzf vim plugin lets you fuzzy search files:
:Tags
you can try:fzf tags
or:fzg :tags
? neither worked:Tags
or:BTags
commands:Tags
works perfectly, but when I run:BTags
I get this ugly errorError running cat '/var/folders/1b/3wwzdg214cz57k2nccl_9d5c0000gn/T/vxOBh5q/14'|'/Users/abdullah/.vim/bundle/fzf/bin/fzf' '--layout=reverse-list' ' -m' '-d' '\t' '--with-nth' '1,4..' '-n' '1' '--prompt' 'BTags> ' '--query' '' --expect=ctrl-v,ctrl-x,ctrl-t --height=10 > /var/folders/1b/3wwzdg214c z57k2nccl_9d5c0000gn/T/vxOBh5q/13
how do i debug such a thing?cat: /var/folders/1b/3wwzdg214cz57k2nccl_9d5c0000gn/T/vxOBh5q/14: No such file or directory
I imagine fzf should take care of creating that directory right?