Tuesday, March 27, 2012

Typeahead character loss at startup.

I'm using Vim 7.3 on Ubuntu 11.x.

When I run "vim file.txt" from the shell, and start typing a command
like
/quicksort before Vim loads the file and refreshes the user interface,
some of the characters end up missing. It might end up as /qu
or /quit, et cetera. Either a suffix of what I typed is missing, or
some middle
characters.

I type very fast and can queue up quite a bunch of keystrokes, which I
expect
to be executed properly.

This is especially annoying when the character loss turns a harmless
positioning command into an edit which then has to be undone.

Looks like Vim may be discarding some characters (or telling the TTY
driver to
do that) during TTY manipulations at start up. (I have not confirmed
that Vim
is the root cause; just a suspicion.)

--
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

No comments:

Post a Comment