So I've been experimenting with Vim, switching over from Sublime. I wanted a feature in vim similar to that of ctrl R
in Sublime, which would show me a list of functions in the current document, and narrow it down as I keep typing. Sublime code-like method browser in Vim has the answer to the same. But I've done all the steps mentioned there, including installing the CtrlP
plugin, installing and setting up ctags
, adding the shortcut in .vimrc
file, but when I use the shortcut, it gives me a "NO ENTRIES". I'm editing on scala.
How do i get ctrlpbuftag to work?
928 Views Asked by Vinu K S At
1
If this feature is not working after installing CtrlP you may have the following issues :
Missing ctags :
sudo apt-get install exuberant-ctags
brew install ctags
CtrlPBufTag is not enabled :
Since
:CtrlPBugTag
is considered a plugin you may need to enable it in your.vimrc
file :