Saturday, January 26, 2013

Re: Mapping for switching windows

Hmmm... You're right, but to my knowledge, W is the same as w. So, it can be used for that purpose...

Well, that depends on each one's needs of course

On Jan 26, 2013, at 6:44 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:

> On Friday, January 25, 2013 5:01:25 PM UTC-6, Aggelos Kolaitis wrote:
>> Hello List,
>>
>> Does anyone have some examples on mappings to switch windows faster CTRL-W, h and CTRL-W, l ?
>>
>>
>>
>>
>>
>> I guess mapping shift-w to do this would be great for fast switching
>>
>>
>> Add this to your vimrc
>>
>>
>> :map <s-w> <esc><c-w><c-w>
>>
>>
>> Ctrl-w Ctrl-w is used to go to the next window mapping this to shift-w makes it faster.
>
>
> I would NEVER consider mapping <S-w>, a.k.a. 'W' which is the "jump to the next WORD" command in normal mode. My 'w' key is one of the most worn on my keyboard, the label is almost entirely gone.
>
> --
> --
> 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 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: