Monday, June 6, 2011

the conflict between linux terminal hotkey and key maps in vim

Hi,

How can I solve the conflict,
Eg. in vim,  do the map          imap <C-s> <Esc>di"i
then when I ctrl+s, the linux terminal will stop work.
Can  it be solved, or only avoid use terminal hotkey in vim?

Another problem about key map.
I want use "alt" key.

keymap in .vimrc as below,
set winaltkeys=no
imap <A-h> <Left>

purpose: alt+h to move the curse left in insert mode. 
but didn't work. no matter use left alt or right alt.

Thanks.




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

Post a Comment