Friday, January 25, 2013

Re: Mapping for switching windows


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. 

No comments: