Friday, January 25, 2013

Re: Mapping for switching windows

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


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