On Tue, 16 May 2006, Marc Weber wrote:

I like the way you can move windows in wmii.

1 | 2
--+--
3 | 4

if your cursor is in window 1 and you move the window to the right you
get

  | 1
3 | 2
  | 4

[improved illustrations]

So I've tried to implement this in vim.. It works (not for preview
window) and is ugly.. Perhaps you want to try it out or have some ideas how to 
improve it?
I'm creating two unnecessary buffers to not accidently exit vim..
[snip]

Not going as far as writing a full script to move windows around, what
I'd do to achieve the above are the following commands:

  :windo wincmd K
  :3wincmd w
  :wincmd H

You can also check out WinWalker at

  http://www.vim.org/scripts/script.php?script_id=1522

HTH :)
--
Gerald

Reply via email to