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.
Malayamarutham is a mellifluous raaga in carnatic music which will make one soft at heart. In telugu, malaya maarutham is a cool evening breeze which invigorates mind, body & heart.
Feedback, suggestions, criticisms, typos, mistakes, errors etc., (no matter how small you think they are) on the articles of this blog are very welcome. They can be directed to kamaraju at gmail dot com.
Search This Blog
Subscribe to:
Post Comments (Atom)
2 comments:
Good one. Here's another tip: to open gvim with multiple files in tabs type gvim -p firstfile secondfile etc. Tabs make it easy to edit two or more files concurrently.
Thanks for the tip NSK. You are right. Tabs in vim are very useful.
Post a Comment