Friday, January 25, 2013

Re: Mapping for switching windows

By the way, TPope's vim-unimpaired plugin has cool bindings for this and other stuff too, you may want to check it out!

--Mike H

On Jan 25, 2013, at 6:14 PM, neoaggelos@yahoo.gr wrote:

You're welcome. Glad to have helped you!

Sent from my iPod

On Jan 26, 2013, at 1:13 AM, Adolfo Olivera <olivera.adolfo@gmail.com> wrote:

Ok. I am an idiot. You are telling me to map shift-w to do this. 

Understood. Thank you.

On Fri, Jan 25, 2013 at 8:10 PM, Adolfo Olivera <olivera.adolfo@gmail.com> wrote:
Thanks. What does shift-w exactly does? From what I see it goes down a line?


On Fri, Jan 25, 2013 at 8:01 PM, <neoaggelos@yahoo.gr> 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. 

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



--
Adolfo Olivera
15-3429-9743





--
Adolfo Olivera
15-3429-9743


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