Lev Lvovsky wrote:



On Aug 8, 2006, at 1:04 PM, Charles E Campbell Jr wrote:

Lev Lvovsky wrote:

When following a tag through to the file where it's defined, is there any way to get vim to keep the existing window open, and simply open (vertically and/or horizontally) a new window as opposed to replacing the existing one?


With cursor atop the word:  ctrl-w ]
From command line:   :sta word


Does this only work horizontally? Seems that there is limited ctrl-w vertical functionality.

:vert sta word

does a vertical split. You may define a mapping to do that in your <.vimrc> if you wish.

Regards,
Chip Campbell

Reply via email to