On 29/10/08 16:52, Kevin wrote:
> 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.
If you open them in split-windows, you can switch between them by means
of Ctrl-W w (go to next window), Ctrl-W W (go to previous window), or
the same with a count (go to nth window from top left in both cases).
These can of course be mapped to a key if you use them often, and you
can change 'winheight' if you want, e.g., to expand the current window
to full size.
I use the following:
set noea wmh=0 wh=99999 hh=99999 " Rolodex Vim
map <F11> <C-W>w
map <S-F11> <C-W>W
imap <F11> <C-O><C-W>w
imap <S-F11> <C-O><C-W>W
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
234. You started college as a chemistry major, and walk out four years
later as an Internet provider.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---