Ever since Mojave Apple has been making it harder and harder and more annoying to develop Safari extensions to the point where I just don't feel like doing it anymore. The process is now more obscure, the documentation is lacking, and the upgrade path is unclear.
If you're an application developer and you want to take this project over, by all means, go ahead and fork it! The license is fully permissive. You can re-distribute this as your own, and even charge for it if you wish. Good luck to you, if you do!
As an alternative, you can check out Vimari which is supported on Safari 13.
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.
hjkl
to scroll left/down/up/rightgg
andshift+g
to scroll to top/bottomf
to click on elements like links, inputs, buttonsshift-f
to open links in a new background tabesc
andctrl+[
to break out of link modeshift-h
to go back in historyshift-l
to go forward in historygt
andshift-k
to go to the next tabgT
andshift-j
to go the the previous tabx
to close the current tabt
to open a new tabr
to reload the current tabctrl-d
to scroll down by half a pagectrl-u
to scroll up by half a pagectrl-f
to scroll down by a full pagectrl-b
to 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:
google.com,facebook.com,tumblr.com/.*
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