> recover use of some terminal keys for vim
> 
> The terminal apps I use:
>    MacOS 10.4.11 -- Terminal.app
>    Linux         -- rxvt
> intercept some control keys, such as:
> 
> 0x03  ^C  intr
> 0x0F  ^O  discard ("flush" on Linux)
> 0x11  ^Q  start
> 0x13  ^S  stop
> 0x1A  ^Z  susp    (%% to resume)
> 0x1C  ^\  quit

I never had any problems except with ^Q and ^S and fixed it by just doing

stty -ixon
vim
stty ixon

^C, ^Z and ^\ all send signals, but Vim catches them and handles them
properly anyway in my experience.

I have this little function in my .bashrc to do it automatically for vim:

vim() {
        if [ -t 0 ] ; then stty -ixon ; fi
        command vim "$@"
        if [ -t 0 ] ; then stty ixon ; fi
}

I'm mostly on Mac OS X 10.4.11.

Ben.




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to