On 06/05/09 11:16, Andy Wokula wrote:
>
> Entering the bottom window is just
>
>      :wincmd b
>

Yeah, sure, but what about the 2nd or 3rd from the bottom? I added a 
"proposed new tip" (yesterday IIRC) on the wiki about using

        :exe winnr('$') - 1 'wincmd w'

to go to the second-last window. (Similarly with a different offset for 
the 3rd, 4th, etc. from last; I suppose it could be adapted for other 
cases, e.g.

        exe winnr() + 4 'wincmd w'

to go down 4 windows in a single operation, since ^Ww with a count 
starts counting from the top.


Best regards,
Tony.
-- 
It has been said [by Anatole France], "it is not by amusing oneself
that one learns," and, in reply: "it is *only* by amusing oneself that
one can learn."
                -- Edward Kasner and James R. Newman

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to