Oftentimes I like to have two copies of the same window open in a horizontal split, so I can look at different pieces of code in the same file. Vim has a handy shortcut to quickly split the current file in a new window. Just hit ctrl-w s. A side bonus is that you don't have to save the file first unlike using :new filename.
Thanks to Nate for the tip!
Showing posts with label same. Show all posts
Showing posts with label same. Show all posts
Thursday, May 29, 2008
Subscribe to:
Posts (Atom)