]> git.gir.st - VimFx.git/commit
Improve Marks mode UX
authorSimon Lydell <simon.lydell@gmail.com>
Sun, 5 Jun 2016 17:25:50 +0000 (19:25 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 5 Jun 2016 17:25:50 +0000 (19:25 +0200)
commit6858d53e58291a4268b8539407c271f90a7c533a
tree52976c64daa7892aa55cf3234a0d3edac3f1fa0c
parent222bca0c0c84b53bc8d7d6b2bf5f06b9c4ba4984
Improve Marks mode UX

- Return to Normal mode if a mark key hasn't been pressed within
  `options.timeout` milliseconds.

- Let `<escape>` return to Normal mode instead of creating or going to a
  mark named `<escape>`. Previously, if the user pressed `<escape>` as
  an attempt to exit Marks mode after accidentally pressing `m`, that
  would indeed exit Marks mode, but it would also set the `<escape>`
  mark. That meant that after that point, the user couldn't exit Marks
  mode using `<escape>` after having pressed `` ` `` without the side
  effect of scrolling to the `<escape>` mark.

- Marks mode has been hidden from the help dialog, in order not to
  clutter it with unnecessary information. While at it, Find mode was
  removed from the help dialog as well, for the same reason. Both modes
  are still available in VimFx's settings page in the Add-ons Manager,
  though.

Fixes #750.
17 files changed:
extension/lib/defaults.coffee
extension/lib/help.coffee
extension/lib/modes.coffee
extension/locale/de/vimfx.properties
extension/locale/en-US/vimfx.properties
extension/locale/es/vimfx.properties
extension/locale/fr/vimfx.properties
extension/locale/id/vimfx.properties
extension/locale/it/vimfx.properties
extension/locale/ja/vimfx.properties
extension/locale/nl/vimfx.properties
extension/locale/pt-BR/vimfx.properties
extension/locale/ru/vimfx.properties
extension/locale/sv-SE/vimfx.properties
extension/locale/zh-CN/vimfx.properties
extension/locale/zh-TW/vimfx.properties
extension/skin/style.css
Imprint / Impressum