Emit Terminal Keycodes from within ViM

2013-09-14 Thread Saad Malik
Hi All, I've been searching on this topic for hours but couldn't find anything relevant on the internetz. _What_: In VIM, map to emit/send the following Mintty terminal keycode "\e[?7727h". _Why_: Cygwin Mintty terminal has a special mode (app escape mode) when enabled emits \eO[ (instead of reg

Re: Emit Terminal Keycodes from within ViM

2013-09-14 Thread Hayaki Saito
Hi, I usually use app escape mode, too. I hope this smart feature becomes widespread. By the way, I may be able to answer your question if I don’t misunderstand it. I always send raw sequence to the terminal by the following way. :call writefile(["\e[?7727h"], '/dev/tty', 'b’) This is equival

Re: Emit Terminal Keycodes from within ViM

2013-09-16 Thread Saad Malik
Ooops I apologize for including the entire post in the reply. -- -- 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

Re: Emit Terminal Keycodes from within ViM

2013-09-16 Thread Saad Malik
On Saturday, September 14, 2013 10:46:28 PM UTC-7, Hayaki Saito wrote: > Hi, > > > > I usually use app escape mode, too. > > I hope this smart feature becomes widespread. > > > > By the way, I may be able to answer your question if I don’t misunderstand it. > > I always send raw sequence to