On 2013-10-05, Ethan Hereth wrote:
> I also was wondering if there is a easy way to make ctrl-] also
> jump to a source file (like stdio.h) if the cursor happened to be
> on a filename instead of a valid tag. (Does this even make sense
> to do?)
That one's easy: just add the option
--extra=+f
when you run ctags.
That also lets you edit a file without specifying the full path name
to it or even knowing where it is by starting vim as
$ vim -t file.c
or from within vim with
:tag file.c
Regards,
Gary
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Saturday, October 5, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment