]> git.gir.st - VimFx.git/commit
Fix `<escape>` handling in Normal mode
authorSimon Lydell <simon.lydell@gmail.com>
Tue, 18 Oct 2016 10:52:08 +0000 (12:52 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Tue, 18 Oct 2016 10:52:08 +0000 (12:52 +0200)
commitc5141a71eaddcb37dc4bf10b9ccf0f9424f12c38
tree365864b82a834eea0320c9ca1d5d5d0cc0528a12
parent57a2f565a9417a58223ef1dff3e3b640713f1b2a
Fix `<escape>` handling in Normal mode

When pressing `<escape>` inside a text input, `<escape>` is not supposed
to be passed on to the page (like is otherwise done), to allow blurring
text inputs inside modals without also closing the modal. There already
was logic for this, but it didn't work because the check for the
currently selected element and the running of the `<escape>` command was
run in the wrong order.
extension/lib/modes.coffee
Imprint / Impressum