Monday, August 26, 2019

:new and :tag

I find myself often wanting to open a new buffer and then lookup a tag.
In visual mode, I can use <ctrl-w><ctrl-]> while on top of a tag word.
In ex (command line) I have been using:

:cmap ,nt new\|tag

and then typing ":,nt" which expands before my eyes to ":new|tag". But I
keep feeling like that's a feature that would be there as some built-in
command I can't find. Is it?

Elijah
------
has been weighing merits of :cab versus :cmap that

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/46HNZz4VLxzfYT%40panix5.panix.com.

No comments:

Post a Comment