Table of contents
It's hard to conceal that using only a keyboard speeds up your performance in writing code. That's evident, especially to Vim-like users. To entirely avoid using a mouse and only stick to the keyboard, we're going to switch to shortcuts where possible; plus, we'll install a few Chrome extensions that will allow us to navigate through the pages, history, or links more quickly.
Chrome hotkeys
There are the hotkeys that every Chrome user should be aware of.
Window
Hotkey | Description |
---|---|
|
Open a new window |
|
Open a new window in incognito mode |
|
Close the current window |
|
Minimize the window |
|
Open link in the new window |
Tabs
Hotkey | Description |
---|---|
|
Open tab number |
|
Go to the next tab |
|
Go to the previous tab |
|
Open new tab |
|
Close tab |
|
Open previously closed tab |
|
Reload the window |
|
Hard reload |
|
Open link in the new tab |
History
Hotkey | Description |
---|---|
|
Go back by history |
|
Go forward by history |
URL Bar
Hotkey | Description |
---|---|
|
Select all text in the URL bar |
|
Go to the beginning of the URL bar |
|
Go to the end of the URL bar |
More Google Chrome shortcuts can be found here:
https://support.google.com/chrome/answer/157179?hl=en&co=GENIE.Platform%3DDesktop#zippy=%2Ctab-window-shortcuts
Chrome extensions
Chrome Show Tab Numbers
Chrome Show Tab Numbers is a very simple but very helpful Chrome extension.
It simply shows tab numbers, and that's it. Why do we need tab numbers?
In the tabs hotkey section, you see the hotkey that lets you navigate using the
"
Vimium
Generally speaking, Vimium is a simple extension miming Vim in the browser.
The most important shortcut is
Let's go through a few that I like the most.
Navigation
Let's open Python website.
If you hit
Note: You choose
Now you have to choose what action do you want to perform.
For instance if you want to go to "about" page you can hit
If you just want to scroll down hit
Selection
To select text, you need to search for it first with
Using the vomnibar
Click
To navigate the bookmark list, use
Note: By clicking on
Vimium Wiki
Wiki describes more features, for instance, how to customize shortcuts. It also has more information than in the help window :) , for instance, what is visual caret mode, etc.
More here: https://github.com/philc/vimium/wiki
Dark Reader
I know this might be slightly off-topic, but I can't resist mentioning this extension. I personally use dark themes whenever possible because they're easier on my eyes, allowing me to work longer. That's why I want to recommend the Dark Reader extension.