I am new to Tcl/Tk, I am using Vim to code and browsing. The syntax highlighting for Tcl/Tk is working fine. The jump into the function using Ctrl] doesnt work it gives me an message saying that "cstag: tag not found
". I have installed ctags and generated tags using "ctags -R *.tcl
". I have extensively used namespaces in Tcl/Tk code. The tags generated in tags file is something like this "namespace1::function1
".
How do i get Ctrl] (and CtrlT for popping from stack) working in Vim?
The function to jump could be in either of the 2 formats shown below
function1
namespace1::function1
ctags -R *.tcl
would generatetags
only for the files in the current directory, that unless your subdirs also have extension.tcl
. Tryctags -R .
instead. – Number