Friday, August 5, 2016

Re: wwhat's wrong with my map in my vimrc file?

Hi 李哲!

On Fr, 05 Aug 2016, 李哲 wrote:

> nnoremap <C-A-h> <C-w>h
> vnoremap <C-A-h> <C-w>h
> nnoremap <C-A-l> <C-w>l
> vnoremap <C-A-l> <C-w>l
>
>
>
> <C-w>h used to move to the left window,
>
>
> but the key map dosent work , when I press ctrl + alt + h at the same time

Is that in a terminal or Gvim? Historically, capturing correct Ctrl /
Alt (together with Shift key) is hard to capture reliably in the
terminal. Therefore, I usually tend to avoid those keys. Actually, I am
not even sure, the <c-a-l> notation is even correct recognized by Vim.

Here is some more information:
http://vi.stackexchange.com/a/9073/71
https://vimhelp.appspot.com/vim_faq.txt.html#faq-20.4
https://vimhelp.appspot.com/vim_faq.txt.html#faq-20.5

Best,
Christian
--
Iefschlag, Herbert:
Unglücksbote

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: