]> git.gir.st - VimFx.git/commit
Improve scrolling when holding h/l/j/k down
authorSimon Lydell <simon.lydell@gmail.com>
Wed, 21 Sep 2016 06:51:03 +0000 (08:51 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Wed, 21 Sep 2016 06:51:03 +0000 (08:51 +0200)
commitfe46fb15284de6987aeb82aa126f0858ac933977
tree45ee9e664bcb9bf963e0fa4cec4bb0ca31b2ef7c
parenta3b2501c3103720ac0e4642458cd3261bd1f9f9c
Improve scrolling when holding h/l/j/k down

When you hold an arrow key down, the scrolling is sped up. With this
commit, the `h`, `l`, `j` and `k` do too, to be as close the the arrow
keys as possible.

Note that this includes a minor breaking API change: The object passed
to modes' `onInput`, and thus the object passed to commands, no longer
has the `uiEvent` property. Instead, there's an `event` property, which
_always_ is an `Event`. `vim.isUIEvent(event)` can be used to check if
it is a UI event or not.
documentation/api.md
documentation/options.md
extension/lib/commands.coffee
extension/lib/defaults.coffee
extension/lib/modes.coffee
extension/lib/vim.coffee
Imprint / Impressum