Hi Peng and Ben, 2015-6-25(Thu) 0:04:59 UTC+9 Ben Fritz: > On Wednesday, June 24, 2015 at 8:42:01 AM UTC-5, Peng Yu wrote: > > Hi, > > > > For example, starting with normal model, then I type :, then type ESC, > > it will take some time (maybe a sec) for the ":" at the bottom of the > > screen to disappear (this is the case in TUI not GUI mode). > > > > How to let vim immediate update the screen when I type ESC in TUI mode? > > > > Have you set up 'timeoutlen' and 'ttimeoutlen' appropriately? > > Vim in a terminal must parse character sequences beginning with <Esc> to > determine when special keys have been pressed, for example the arrow keys, > and these options control how long Vim waits before deciding that there is no > special key code coming, it really was just an <Esc>. See the help for these > options. > > Also, note that the command line can be closed with <C-C> as well.
I use the following settings in my .vimrc. This works fine for me. set timeout set timeoutlen=500 set ttimeoutlen=50 -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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 are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
