Wednesday, June 24, 2015

Re: How to let vim immediate update the screen when I type ESC (in TUI mode)?

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.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: