Browser Layer

The browser layer is an application layer that uses browser shortcuts such as creating, removing and navigating through tabs and windows. For a browser, I use chrome but most other browsers have similar shortcuts.

Vimium Extension

Vimium is a browser extension that allows links to be clicked on easily without a mouse. This is done by vimuim highlighting 2 letters showing available links and then the user types the 2 letters next to the link to open in a tab or new tab.

There are also some other nice features such as being able to searching through tabs or easily going to last tab.

One think I dislike about vimuim is that it is alway active and sometimes has weird interactions with text input fields. For this reason, I like to place vimium on a layer and add to other chrome shortcuts. I do this by creating a custom key map in the Vimium extension in the vimium help section, activated by "?" by default. I unmap all shortcuts then add the ones I use. the <c-letter> stands for control + letter which I do to avoid conflicts such as youtube's hotkeys that have no modifiers and cannot be easily changed.

I then use karabiner elements to map an application layer(hyper keys), to a browser layer that only triggers when chrome is the front most application. So hyper keys remapped into the vimuim keybindings like control + a letter. At the end I show the karabiner code since its quite lengthy.

The full table showing the key mapping is below with an image of the application layer below.

Description
Original Hotkey
Updated Hotkey

Open a new window

⌘ + n

e

Open a new tab, and jump to it

⌘ + t

d

Reopen tab in new window

macro

t

Move right a tab

⌘ + Option + Right Arrow

f

Move left a tab

⌘ + Option + Left Arrow

s

reopen last closed tab

⌘ + Shift + t

t

close the current tab

⌘ + w

a

close the current window

⌘ + Shift + w

q

refresh window

⌘ + r

b

jump to address bar

⌘ + l

r

find

⌘ + f

x

find next

⌘ + g

c

find previous

⌘ + Shift + g

v

scroll up

karabiner

u

scroll down

karabiner

o

scroll left

vimium

j

scroll right

vimium

l

page up

vimium

y

page down

vimium

n

top of page

vimium

i

bot of page

vimium

k

go to first tab

vimium

h

go to last tab

vimium

;

go to last visited tab

vimium

F5

search through tabs

vimium

g

open link in current tab

vimium

m

open link in new tab

vimium

f9

copy current link to clipboard

vimium

f10

vimium help menu

vimium

p

Last updated