]> git.gir.st - VimFx.git/commit
Make it possible to escape from stuck "auto insert mode"
authorSimon Lydell <simon.lydell@gmail.com>
Fri, 8 Jul 2016 06:00:18 +0000 (08:00 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Fri, 8 Jul 2016 06:03:43 +0000 (08:03 +0200)
commit6f625bbfe996f79317ffdfee747cad880f6e82fe
treeb30e6cfe20b0aa17d4fbd6fe20aa7bb0d563845d
parent6f84d15bf44e68e3664fafa34aa39a1e67c7373a
Make it possible to escape from stuck "auto insert mode"

With this commit, `<escape>` resets `vim.focusType` to 'none', in case
we somehow have gotten stuck with 'editable'.

The button now also runs the `esc` command, making it a true escape
hatch: Clicking it not only lets you escape from other modes back to
Normal mode, but also blurs stuff and makes sure that `vim.focusType` is
'none'.
extension/lib/button.coffee
extension/lib/commands.coffee
Imprint / Impressum