The new version of vi and vim supports tab function. Make sure your vi and vim version is 7.0 and above to do this. To open new tab, run :tabnew or :tabe in normal mode. T open a file in new tab, use :tabnew filename or :tabe filename. To move between tab, use ctrl+pgup and ctrl+pgdown. You can also use gt to and gT to move between tabs. To move to specific tab number use igt where i is the tab number
Picture shows tabs in vi
Tuesday, March 25, 2008
Using tab in vi, vim
Subscribe to:
Post Comments (Atom)
1 comment:
Hi, I have created a blog entry explaining the tab feature in vim and how to use it. Check it out.. http://blog.sriunplugged.com/vi/tab-feature-in-vim/
Post a Comment