Monday, July 16, 2012

Re: Random j, k characters appearing on line ends

On Saturday, July 14, 2012 6:44:17 AM UTC+12, Evan Goer wrote:

> I have personally only seen this while editing JavaScript files with the jslint.vim plugin active.

I think the spurious j's and k's are those that vim intended to echo on the base line in the show command spot. Partial commands are echoed there, then erased when a complete command is entered. For a one character normal command, like j or k, the command flashes very briefly.

That plugin may echo stuff when the cursor is moved, and when it does, it resets showcmd, does a redraw, then sets showcmd again. I imagine a race condition exists which confuses vim as to where the showcmd echo goes.

Regards, John

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