Vimmy - Neato Vim-ness for Safari
The best way to get the latest version is to download the release file from GitHub. The extension is available on the Safari Extensions Gallery but they haven't been responding to my requests for an update, so the version there is stale.
hjklto scroll left/down/up/right
shift+gto scroll to top/bottom
fto click on elements like links, inputs, buttons
shift-fto open links in a new background tab
ctrl+[to break out of link mode
shift-hto go back in history
shift-lto go forward in history
shift-kto go to the next tab
shift-jto go the the previous tab
xto close the current tab
tto open a new tab
rto reload the current tab
ctrl-dto scroll down by half a page
ctrl-uto scroll up by half a page
ctrl-fto scroll down by a full page
ctrl-bto scroll up by a full page
If you use websites that have their own shortcuts, you can add them to the extension blacklist (available since version
0.4.0). In extension settings, just add a list of domains where you want the extension to be ignored. Each line can be a regular expression. Please separate the values using commas. For example, yours might look something like this:
Unfortunately Safari is quite limited in what kinds of settings can be added at the moment, so I couldn't add a proper list input. Maybe one day!
It's also possible to add a global hard-coded website blacklist. If you have thoughts or suggestions for this, please check out the Github repo.
If the slightly-rotated hints are a distraction for you, there is also an option to turn that off.
If the black-and-white hints aren't your cup of tea, you're welcome to try high-contrast mode which changes the background to yellow.
There are other Vim extensions for Safari, but this one is mine!
- better hints (high contrast, chevrons show associated link)
- fluid scrolling animations
- minimum useful command set