momodalo / vimtouch

vimtouch
Apache License 2.0
349 stars 71 forks source link

Ctrl-S and Ctrl-Q mappings don't work because of terminal flow control. #59

Open inkarkat opened 11 years ago

inkarkat commented 11 years ago

Many people have an :nnoremap <C-s> :update<CR> (to quickly save) in their .vimrc. In Vim Touch, this does not work and instead blocks the output until Ctrl-Q is pressed.

This is a well-known phenomenon due to historical terminal implementations. It is typically disabled with a call to

$ stty start undef stop undef

Can you please reconfigure the terminal underlying Vim Touch in this way, so that those Vim mappings work out of the box?!

PS: Thanks for this great app; I hope you maintain this and regularly publish updates (especially once Vim 7.4 is released)!