mjrusso / scoot

Keyboard-driven MacOS cursor actuator
BSD 3-Clause "New" or "Revised" License
333 stars 14 forks source link

Add vi bindings, and the freestyle usage mode #15

Closed mjrusso closed 2 years ago

mjrusso commented 2 years ago

This PR adds support for navigation using vi bindings, and introduces a new usage mode (invoked with the ⇧⌘L global keyboard shortcut). For more context, see #12.

Thanks to @shadowgate15 for contributing (and adapting) the vi bindings.

Usage details are documented in the README, but a few notes for posterity —

The vi bindings need to be explicitly enabled. To turn them on:

defaults write ~/Library/Preferences/com.mjrusso.Scoot.plist KeybindingMode vi

(No UI for this, yet.)

Be sure to restart Scoot after toggling vi bindings on, or the app won't see the changes.

Freestyle mode is an alternative usage mode. When activated, it will bring Scoot to the foreground, but not activate any of the special "character based decision tree" machinery for moving around. However, all of the other keyboard shortcuts (the ones based on text editing shortcuts) will continue to work.