Thursday, April 1, 2010

tabs in vim

Sometimes it would useful to view the files as tabs(IMV, may be, just may be only when you
want to know what files are open without doing :files in vim command prompt. ). Here is
the solution for it.

http://www.linux.com/archive/feed/59533

here is the gist of the feature.

1. You could invoke it either with -p command switch option or :tabnew command option.
2. use 'gt' to switch between the tabs.
3. Use ':tabdo blah' to run a command over all the tabs ( eg. search and replace)

its cool

No comments: