On Nov 4, 1:44 pm, Tom Link <[email protected]> wrote: > > > > echo "foo"; // ref("name","path/to/related/javascript/file#foo"); > > > > > .js: > > > > > console.log("foo"); // a("foo") > > > any way to gF to a named position rather than a line number? > > I was wondering if you couldn't or shouldn't use tags for that? You > could define your own rules and pass them on the command-line to > ctags. >
The OP said he's working with multiple languages and didn't think ctags "mixes up languages by default", which I for some reason took as "ctags won't work for me". Now I realize...although it may be difficult to create a single tags file that contains all the code in all the languages present, it is easy to tell Vim to use multiple tags files, potentially one for each language. The 'tags' option is a comma-separated list. Yes, I think (exuberant) ctags would be the tool of choice here. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
