-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows
seek
to accept more than one keypress.
The new argument `inputLength` (which defaults to 1) determines how many characters the `seek` command accepts. This uses the newly implemented `keyCount` argument (which also defaults to 1) to accept multiples keypresses. The most immediate use for this is to implement the equivalent of vim-sneak. Sneak accepts two key presses, and like `t`, sneak jumps the cursor right before the next match of the input. This also includes some shortcut commands for easily sneaking with the `s` key in normal mode using select.orSneak.
- Loading branch information
1 parent
e15330a
commit 05bfdd8
Showing
9 changed files
with
295 additions
and
198 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.