On Sun, Aug 7, 2016 at 7:31 AM, John Little <[email protected]> wrote:
> On Friday, August 5, 2016 at 9:22:02 PM UTC+12, 李哲 wrote:
>> nnoremap <C-A-h> <C-w>h
>> nnoremap <C-A-l> <C-w>l
>
>> the key map dosent work
>
> Your OS or window manager might use those.  Mine (KDE) uses C-A-l to lock the 
> session.  To find out if you can map them, start your usual vim, go into 
> insert mode, type ctrl-V then the key combination you're interested in.  If 
> something is inserted into the buffer, then vim can see it, but if not, vim 
> can't see it and you can't map it.
>
Then if you do see something, put the cursor on it in Normal mode and
hit ga. Maybe the window manager passes only part of the keystroke:
for instance 0x08 means Ctrl-H (synonym of Backspace) and 0xE8 is one
of the possible codes for Alt-h.

Best regards,
Tony.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to