Fandom

Vim Tips Wiki

Follow tag in new window

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 457 Printable Monobook Previous Next

created 2003 · complexity basic · author PopEsc · version 6.0


If you use tags, you might want to follow a tag, but leave the current window open. The following mapping allows you to do this easily with Ctrl-\.

:map <C-\> :sp<CR><C-]><C-w>_

CommentsEdit

This creates a new window of maximal size and the original window shrinks to one line. To have the windows be of equal size, just eliminate the "<C-w>_" at the end.


Just use 'CTRL-W ]'.


Also on Fandom

Random Wiki