Friday, January 25, 2013

Re: Mapping for switching windows

* Adolfo Olivera <olivera.adolfo@gmail.com> [2013-01-26 00:18]:
> Does anyone have some examples on mappings to
> switch windows faster [than] CTRL-W,h and CTRL-W,l?

yes:

map <left> <c-w>h
map <right> <c-w>l
map <up> <c-w>k
map <down> <c-w>j

happy?

but remember: the fastest way to use
any program is to simply learn about
the default config - and use just that.

Sven

--
To me vi is Zen. To use vi is to practice zen.
Every command is a koan. Profound to the
user, unintelligible to the uninitiated.
You discover truth everytime you use it. --Reddy

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