Skip to content

Commit f8cb399

Browse files
committed
new post
1 parent 80cc06a commit f8cb399

File tree

1 file changed

+72
-0
lines changed
  • src/posts/2020-05-19-Browser-keyboard-shortcuts

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
3+
path: '/browser-shortcuts'
4+
date: "2020-05-19"
5+
title: 'Chrome/Firefox Keyboard Shortcuts (for developers) ⌨️'
6+
tags: ['productivity', 'chrome', 'firefox', 'keyboard shortcuts']
7+
excerpt: 'Use The Keyboard (one of the resources I used)'
8+
link: 'https://usethekeyboard.com/'
9+
10+
---
11+
12+
## Navigation
13+
14+
* `ctrl a` and `ctrl e`
15+
16+
For moving to the beginning/end of the line (just like in your terminal/command line!)
17+
18+
* `cmd + l`
19+
20+
Bring the URL bar into focus.
21+
22+
* `cmd + enter`
23+
24+
Duplicate the current tab (while in URL focus).
25+
26+
* `cmd + shift + t`
27+
28+
Open a tab you just closed (a lifesaver for my trigger-happy fingers).
29+
30+
* `cmd + d`
31+
32+
Add a bookmark (extra tip: when saving bookmarks to the bookmarks bar, delete all the text meaning only an icon will get displayed => you can cram many more bookmarks into your bookmarks bar 💪).
33+
34+
## Dev tools
35+
36+
* `cmd + shift + c`
37+
38+
Toggles the inspect element mode (and makes for faster DOM inspection).
39+
40+
* Toggle the `console` from dev tools by pressing `esc` key.
41+
42+
* `cmd+ option + i`
43+
44+
To open the dev tools (in the last panel you used).
45+
46+
* `shift + enter`
47+
48+
For a multi-line entry (in the `Console`)
49+
50+
* `cmd + [` and `cmd + ]`
51+
52+
To focus next/previous panel in the dev tools.
53+
54+
## Have you ever wondered how to access `console.log` values? Wonder no more!
55+
56+
Go to the console, right-click on the logged value and click **Store as Global Variable**.
57+
58+
Now, this value will be stored in a variable `temp1` (`temp0` in Firefox). Nuts!
59+
60+
The subsequent values (in the same session) will be stored as`temp2`, `temp3`...
61+
62+
To get that data onto your clipboard type: `copy(temp1)` 🤯
63+
64+
## Firefox extras
65+
66+
* `cmd + shift + p`
67+
68+
To start private browsing.
69+
70+
* `cmd + k`
71+
72+
Move focus to the Search bar.

0 commit comments

Comments
 (0)