Thursday, November 7, 2013

Re: Toggling between two (and not other) windows

On 2013-11-07 08:49, Christopher J. Bottaro wrote:
> I use vim with three windows: NERDTree, MinBufExpl and the "main
> editing" window. Currently I have tab mapped to <C-w>w which
> cycles through all the windows. What I really want is tab to cycle
> between just NERDTree and the main editing window, then shift tab
> to cycle between MinBufExpl and the main editing window.

Well, you can use <c-w>p to toggle between the current window and the
previously-accessed window. However, if you happen to wander into
another window, you'll have to reset your current+previous windows
for it to work again.

-tim

:help CTRL-W_p







--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment