(Examples with evil-escape-key-sequence set to "fd")
In ansi-term and other term-buffers, when running less, if the user
presses f, the file being viewed is actually scrolled down twice
instead of once as it should be.
This is because evil-escape causes an f key press from the user to
be sent as the following sequence of key presses:
f <backspace> f
In general, term-mode can be running some arbitrary program that
doesn't interpret f <backspace> f as equivalent to f. In that
case, it doesn't seem like evil-escape is completely safe to use in
term-mode at all, since it's sending key sequences to an arbitrary
terminal program that don't correspond to the user's intention.
Perhaps evil-escape-excluded-major-modes should include term-mode
by default, as evil-escape's support for it works sometimes but is
not correct in all cases.
(Examples with
evil-escape-key-sequence
set to"fd"
)In ansi-term and other term-buffers, when running
less
, if the user pressesf
, the file being viewed is actually scrolled down twice instead of once as it should be.This is because
evil-escape
causes anf
key press from the user to be sent as the following sequence of key presses:In general, term-mode can be running some arbitrary program that doesn't interpret
f <backspace> f
as equivalent tof
. In that case, it doesn't seem like evil-escape is completely safe to use in term-mode at all, since it's sending key sequences to an arbitrary terminal program that don't correspond to the user's intention.Perhaps
evil-escape-excluded-major-modes
should includeterm-mode
by default, as evil-escape's support for it works sometimes but is not correct in all cases.