Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual mode lag on evil-next-line when 'jk' used as escape sequence #52

Open
cmlaverdiere opened this issue Oct 31, 2015 · 4 comments
Open
Labels

Comments

@cmlaverdiere
Copy link

When evil-escape is on, with 'jk' as the escape sequence, there is a noticeable lag (about a quarter second) when moving down a line in visual mode with 'j'. This doesn't happen when I switch the sequence to 'fd'.

@CestDiego
Copy link

@syl20bnr this also affects evil-magit, see the above reference for reference ;p

@syl20bnr
Copy link
Owner

This is a limitation of the implementation, there is nothing I can do to prevent this.
But it should normally happen only to the first pressed j when you press it multiple time like jjjjj or you let the key pressed. Is this correct ?

@CestDiego
Copy link

@syl20bnr no, it breaks at the first one

@syl20bnr syl20bnr added the bug label Jun 24, 2018
@OrbitalHustler
Copy link

Can be fixed with
(setq evil-escape-excluded-states '(normal visual multiedit emacs motion))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants