Showing posts with label all. Show all posts
Showing posts with label all. Show all posts

Wednesday, January 7, 2009

Command on All Windows

Here's a neat trick. If you want to execute an ex command on all windows, you can do the following:

:windo command

so...

:windo %s/foo/bar/g would find and replace foo with bar in all windows.

Friday, November 30, 2007

Fast Select All

Want to select an entire file in visual mode very quickly? Try ggVG in normal mode.