The problem I have is: the more I work on this window layout, the more
I feel that Vim lacks of facilities to identify windows, for example,
if I want to implement a customized command to exchange the files
between current window and window 1, I don't have a straightforward
way to identify the current window number, which is a major obstacle
to develop more sophisticated commands on this layout.

How about

:exec winnr()."wincmd x"

?

:help :wincmd
:help winnr()
:help CTRL-W_x

Ben.



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

Reply via email to