Search This Blog

Saturday, October 25, 2008

open a new gvim window from gvim

To open a new gvim window from an existing gvim window use

:silent !gvim

If there are any errors in the original window, the screen can be refreshed by

:redraw!

or by simply pressing ctrl-l.

For more help, see :!cmd, :silent in the vim help pages.

This tip was tested in vim 7.0 on a machine running Debian Etch.

Followers