Friday, May 7, 2010

Re: Question about moving windows

On 05/07/2010 03:11 AM, robert song wrote:
> Hello, everyone.
>
> In vim,
> CTRL-W K J H L can be used to move the current window to be at the
> very top bottom left and right.
>
> But is there any way to move current window as following ?
>
> Before:
> +---------+--------+
> | window1 | window2|
> | +--------+
> | | window3|
> +---------+--------+
>
> After:
> +---------+--------+
> | window2 | window3|
> +---------+ |
> | window1 | |
> +---------+--------+

You don't mention which window is the "current" one. To shift
the layout like you describe, I'd

1) go to window #2
2) use ctrl+w K to move #2 to the top
3) use ctrl+w b to jump to window 3
4) use ctrl+w L to move window 3 into position

-tim

--
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

No comments: