syl20bnr / evil-escape

Customizable key sequence to escape from insert state and everything else in Emacs.
GNU General Public License v3.0
225 stars 42 forks source link

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

Open cmlaverdiere opened 9 years ago

cmlaverdiere commented 9 years ago

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 commented 9 years ago

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

syl20bnr commented 8 years ago

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 commented 8 years ago

@syl20bnr no, it breaks at the first one

OrbitalHustler commented 4 months ago

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