> But I'm mostly looking for a way to switch back and forth > between two files quickly,
Standard way for doing this: <CTRL-^> (as Erik Falor already pointed out). :help CTRL-^ But this don't scales well IMO if you like to cycle through, let say, 3 buffers... BTW, for 3+ buffers it is worth to have a look on this: http://www.vim.org/scripts/script.php?script_id=2346 Andy Wokula has written small and interesting plugin, which works in the following way: you press <SPACE> and you see in the status line the name of alternative buffer. If you press <ENTER> - you jump to it. If you don't like this, you press <SPACE> again and you see the name of the next buffer. It works like simulation of <CTRL-TAB> Visual Studio behaviour. Anton. 2008/10/29, Kevin <[EMAIL PROTECTED]>: > > I'm actually using NERDtree and I like it a lot. But I'm mostly > looking for a way to switch back and forth between two files quickly, > a class file and it's test file. > > On Oct 29, 7:06 am, fritzophrenic <[EMAIL PROTECTED]> wrote: >> On Oct 28, 3:42 pm, Kevin <[EMAIL PROTECTED]> wrote: >> >> > I'm looking for a tip for switching back and forth between buffers >> > quickly, similar to a ctrl-tab in a visual studio environment. >> >> > Thanks, >> > Kevin >> >> If you're using tab pages in Vim, the equivalent command would be gt >> or gT to cycle forward and backward throught the open tab pages. gt >> can also take a count to go to a specific tab page, e.g. 5gt will go >> to the 5th tab page from left to right. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
