Vimium allows us to use some keybindings with
Alt key. For example:
<a-f> open multiple links in a new tab <a-p> pin/unpin current tab ...
However, I can’t use this feature on MacOS. When I type
Alt + f (
Option + f), nothing happen. ❓
Vimium is unable to detect mappings using Option (Alt) key as modifier on macOS unless “Ignore keyboard layout” setting is checked. Otherwise it uses
KeyboardEvent.keyto identify the key press which means e.g.
is identified as letter π on macOS since Option key is used to type additional characters.
So, to use Alt key on MacOS, there are 2 ways: Open Vimium settings
- Check to box “Ignore keyboard layout”
- Remap on custom key mappings to use additional characters:
map <a-ƒ> LinkHints.activateModeWithQueue map <a-¬> closeTabsOnLeft map <a--®> closeTabsOnRight map <a-ø> closeOtherTabs