Monday, June 6, 2011

Re: the conflict between linux terminal hotkey and key maps in vim

Hi yus!

On Di, 07 Jun 2011, yus wrote:

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

That is a terminal control sequence (I think it is the Stop command).
Vim won't see it. You can configure your terminal not to react to these
control sequences using stty.

So if in general you don't need the Stop control sequence, use either:

stty stop undef
or
stty -ixon

regards
Christian
--

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