Skip to content

Commit df8049f

Browse files
committed
Initial shortcuts
Formatting fixes
1 parent e6dd365 commit df8049f

File tree

7 files changed

+341
-0
lines changed

7 files changed

+341
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.swp

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Shortcuts
2+
3+
A non-comprehensive list of useful shortcuts
4+
5+
## Categories
6+
7+
- [Desktop](desktop/README.md)
8+
- [Sketch](sketch/README.md)
9+
- [Slack](slack/README.md)
10+
- [Vim](vim/README.md)
11+
- [Web](web/README.md)
12+
13+
## Tools
14+
15+
| Name | Description |
16+
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------|
17+
| [Amethyst](https://github.com/ianyh/Amethyst) | Tiling Window Manager |
18+
| [Seil](https://github.com/tekezo/Seil/) | Keyboard Customizer, e.g. use `Caps Lock` as `Escape` |
19+
| [Quick Tabs](https://chrome.google.com/webstore/detail/quick-tabs/jnjfeinjfmenlddahdjdmgpbokiacbbb) | Switch Chrome tabs with quick search |
20+
21+
## See Also
22+
23+
- [Dotfiles](https://github.com/ricmatsui/dotfiles)

desktop/README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Desktop Shortcuts
2+
3+
## Mac
4+
5+
| Shortcut | Description |
6+
|--------------------------------------------|----------------------------------------------------------------------------|
7+
| `Command + Tab, {Tab, ...}` | Cycle forwards through applications |
8+
| ``Command + `, {`, ...}`` | Cycle forwards through windows of current application |
9+
| `Command + q` | Quit current application |
10+
| `Command + m` | Minimize current window |
11+
| `Command + Space` | Open spotlight search, quick calculation |
12+
| `Control + Right, {Right, ...}` | Go to next desktop |
13+
| `Control + Left, {Left, ...}` | Go to previous desktop |
14+
| `Control + Up` | Show windows in current desktop |
15+
| `Control + Down, [Arrow Keys, ..., Enter]` | Show windows of current application, [select a recent file or open window] |
16+
| `Control + Shift + Power` | Sleep display (set Mac to require password) |
17+
| `Command + ,` | Open preferences for current application |
18+
19+
### Finder
20+
21+
| Shortcut | Description |
22+
|-----------------------------------|------------------------------|
23+
| `Command + Shift + n` | Make new folder |
24+
| `Command + n` | New window |
25+
| `Command + t` | New tab |
26+
| `Command + w` | Close tab |
27+
| `Command + Shift + [, { [, ... }` | Cycle forwards through tabs |
28+
| `Command + Shift + ], { ], ... }` | Cycle backwards through tabs |
29+
| `Command + Up` | Go up one folder |
30+
| `Command + 1` | View as icons |
31+
| `Command + 2` | View as list |
32+
| `Command + 3` | View as columns |
33+
| `Command + 4` | View as cover flow |
34+
| `Enter` | Rename selected item |
35+
| `Command + o` | Open selected item |
36+
| `Command + y` | Quick look |

sketch/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Sketch Shortcuts
2+
3+
## Universal
4+
5+
| Shortcut | Description |
6+
|------------------------------|----------------------------------------------|
7+
| `a` | Switch to artboard tool |
8+
| `r` | Switch to rectangle tool |
9+
| `t` | Switch to text tool |
10+
| `Control + g` | Toggle grid |
11+
| `Command + g` | Group selected |
12+
| `Command + Shift + g` | Ungroup selected |
13+
| `Escape` | Select parent |
14+
| `Double Click` | Select child / enter group underneath cursor |
15+
| `Right Click` > `Pick Layer` | Select layer underneath cursor |
16+
| `Command + Option + Up` | Move selected forwards |
17+
| `Command + Option + Down` | Move selected backwards |
18+

slack/README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Slack Shortcuts
2+
3+
## Universal
4+
5+
| Shortcut | Description |
6+
|----------------------|----------------------------------------------------------------------------------------|
7+
| `Command + /` | Open shortcut list |
8+
| `Command + k` | Open conversation switcher, type to filter, `Tab` to move selection, `Enter` to select |
9+
| `Command + k, Enter` | Open next channel with unread messages |
10+
| `Option + Down` | Go to next channel |
11+
| `Option + Up` | Go to previous channel |
12+
| `Command + f` | Move to search |
13+
| `Command + u` | Upload a file |
14+
15+
## Messaging
16+
17+
| Shortcut | Description |
18+
|----------------------------------------------------|---------------------------------------------------------------|
19+
| `Up` | Edit last sent message, `Enter` to submit, `Escape` to cancel |
20+
| `+:`, type emoji name, `Enter` | Add reaction emoji to last message |
21+
| `@channel, Enter` | Notify all channel members |
22+
| `@group, Enter` | Notify all group member |
23+
| `@here, Enter` | Notify all active desktop members |
24+
| `>` | Format line as quote |
25+
| `` ` ``, type code, `` ` `` | Format as code |
26+
| `` \`\`\` ``, type code on next line, `` \`\`\` `` | Format paragraph as code |
27+
| `:`, type emoji name, `Enter` | Type an emoji |
28+
| `/away, Enter` | Toggle away status |
29+

vim/README.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Vim Shortcuts
2+
3+
## Normal Mode
4+
5+
| Shortcut | Description |
6+
|-------------------------------|---------------------------------------------------------------|
7+
| `Shift + z, Shift + z` | Save and quit |
8+
| `:qall` | Close all |
9+
| `u` | Undo |
10+
| `Control + r` | Redo |
11+
| `d, d` | Delete a line |
12+
| `d, w` | Delete a segment forward |
13+
| `d, Shift + w` | Delete a segment forward separated by whitespace |
14+
| `d, a, Shift + w` | Delete the current segment separated by whitespace |
15+
| `f`, character | Move to next occurrence of character |
16+
| `Shift + f`, character | Move to previous occurrence of character |
17+
| `o` | Make a new line below and move to it |
18+
| `O` | Make a new line above and move to it |
19+
| `c, c` | Clear the current line |
20+
| `=, =` | Re-indent line |
21+
| `~` | Change case of character and move to next character |
22+
| `Control + a` | Increment number under cursor |
23+
| `Control + x` | Decrement number under cursor |
24+
| `Shift + ]` | Move to next paragraph |
25+
| `Shift + [` | Move to previous paragraph |
26+
| `r`, character | Replace current character with new character |
27+
| `Shift + a` | Move to end of line and insert |
28+
| `Shift + i` | Move to beginning of line and insert |
29+
| `p` | Paste after current character or line |
30+
| `Shift + p` | Paste before current character or line |
31+
| `%` | Move to matching character |
32+
| `Control + e` | Scroll down a line |
33+
| `Control + y` | Scroll up a line |
34+
| `Control + f` | Scroll down a page |
35+
| `Control + b` | Scroll up a page |
36+
| `z, .` | Scroll so current line is in center |
37+
| `q`, character, commands, `q` | Record a macro |
38+
| `@`, character | Run a macro |
39+
| `/`, text | Search for text down |
40+
| `?`, text | Search for text above |
41+
| `n` | Move to next occurrence of search |
42+
| `Shift + n` | Move to previous occurrence of search |
43+
| `w` | Move to beginning of next segment |
44+
| `Shift + w` | Move to beginning of next segment separated by whitespace |
45+
| `e` | Move to end of next segment |
46+
| `Shift + e` | Move to end of next segment separated by whitespace |
47+
| `b` | Move to beginning of previous segment |
48+
| `Shift + b` | Move to beginning of previous segment separated by whitespace |
49+
| `Shift + j` | Move next line to end of current line |
50+
| `g, g` | Move to beginning of file |
51+
| `Shift + g` | Move to bottom of file |

web/README.md

+183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
# Web Shortcuts
2+
3+
- [Gmail](#gmail)
4+
- [Google Calendar](#google-calendar)
5+
- [YouTube](#youtube)
6+
- [GitHub](#github)
7+
- [JIRA](#jira)
8+
9+
## Gmail
10+
11+
### Universal
12+
13+
| Shortcut | Description |
14+
|-------------|------------------------------------------------|
15+
| `?` | Show shortcuts |
16+
| `j` | Move to next thread |
17+
| `k` | Move to previous thread |
18+
| `Shift + i` | Mark current or selected conversations as read |
19+
| `/` | Move to search bar |
20+
| `c` | Compose a new message |
21+
| `g, i` | Go to Inbox |
22+
| `g, s` | Go to Starred |
23+
| `g, t` | Go to Sen*t* |
24+
| `g, a` | Go to All Mail |
25+
| `z` | Undo last action |
26+
27+
### Conversation Lists
28+
29+
| Shortcut | Description |
30+
|-------------|--------------------------------------------------------|
31+
| `x` | Toggle selected conversation |
32+
| `s, ...` | Cycle forwarads through stars for current conversation |
33+
| `e` | Archive selected conversations |
34+
| `\` | Cycle forwards through inbox sections |
35+
| `Shift + \` | Cycle backwards through inbox sections |
36+
37+
### Conversation View
38+
39+
| Shortcut | Description |
40+
|-------------|---------------------------------------|
41+
| `r` | Reply to message |
42+
| `a` | Reply-all to message |
43+
| `n` | Move to next message |
44+
| `p` | Move to previous message |
45+
| `Enter` | Toggle message expanded |
46+
| `Shift + n` | Update conversation with new messages |
47+
48+
### Message Editor
49+
50+
| Shortcut | Description |
51+
|-------------------|-------------------|
52+
| `Command + \` | Remove formatting |
53+
| `Command + Enter` | Send |
54+
55+
56+
## Google Calendar
57+
58+
| Shortcut | Description |
59+
|----------|------------------------------|
60+
| `r` | Reload |
61+
| `t` | Move to today |
62+
| `c` | Create a new event |
63+
| `j` | Move to next time period |
64+
| `k` | Move to previous time period |
65+
| `d` | View by day |
66+
| `w` | View by week |
67+
| `m` | View by month |
68+
| `x` | View by custom period |
69+
| `a` | View by agenda |
70+
71+
72+
## YouTube
73+
74+
| Shortcut | Description |
75+
|----------|--------------------------|
76+
| `j` | Move back 10 seconds |
77+
| `l` | Move forwards 10 seconds |
78+
| `k` | Toggle play or pause |
79+
| `k, k` | Cancel next autoplay |
80+
| `m` | Toggle mute |
81+
| `f` | Toggle fullscreen |
82+
| `/` | Move to search |
83+
84+
85+
## GitHub
86+
87+
### Universal
88+
89+
| Shortcut | Description |
90+
|-----------------|-----------------------|
91+
| `?` | View shortcuts |
92+
| `s` | Move to search |
93+
| `j` | Move to next item |
94+
| `k` | Move to previous item |
95+
| `o` | Open current item |
96+
| `x` | Toggle item selected |
97+
| `g, c` | Go to code |
98+
| `g, i` | Go to issues |
99+
| `g, p` | Go to pull requests |
100+
| `Space` | Scroll page down |
101+
| `Shift + Space` | Scroll page up |
102+
103+
### Issues & Pull Requests
104+
105+
| Shortcut | Description |
106+
|-----------------------|--------------------------------------------------|
107+
| `l` | Open labels, type to filter, `Enter` to toggle |
108+
| `a` | Open assignee, type to filter, `Enter` to assign |
109+
| `Command + Enter` | Submit comment |
110+
| `Command + Shift + p` | Toggle preview comment |
111+
112+
### Comments
113+
114+
| Shortcut | Description |
115+
|-----------------------------------------------------------------------|--------------------------|
116+
| `` ` ``, type code, `` ` `` | Format text as code |
117+
| `` \`\`\` ``, type language name, then code on next line `` \`\`\` `` | Format paragraph as code |
118+
| `[ ]` | Make an empty checkbox |
119+
| `[x]` | Make a checked checkbox |
120+
| `@`, type username, Enter | Mention a user |
121+
| `:`, type emoji name, Enter | Type an emoji |
122+
| `-`, type text | Make a list |
123+
124+
### Code
125+
126+
| Shortcut | Description |
127+
|----------|------------------------|
128+
| `t` | Open fuzzy file finder |
129+
130+
### Network Graph
131+
132+
| Shortcut | Description |
133+
|-------------|---------------------|
134+
| `h` | Scroll left |
135+
| `j` | Scroll down |
136+
| `k` | Scroll up |
137+
| `l` | Scroll right |
138+
| `Shift + l` | Scroll to far right |
139+
| `t` | Toggle labels |
140+
141+
142+
## JIRA
143+
144+
### Universal
145+
146+
| Shortcut | Decription |
147+
|----------|-----------------------------------------------------|
148+
| `?` | View shortcuts |
149+
| `o` | Open selected item |
150+
| `.` | Open operations, type to filter, `Enter` to perform |
151+
| `c` | Create issue |
152+
| `/` | Move to search |
153+
| `g, a` | Go to board |
154+
155+
### Board
156+
157+
| Shortcut | Description |
158+
|----------|----------------------------------|
159+
| `j` | Move down |
160+
| `k` | Move up |
161+
| `n` | Move right |
162+
| `p` | Move left |
163+
| `e` | Edit current item |
164+
| `z` | Cycle through presentation modes |
165+
166+
### Issue
167+
168+
| Shortcut | Description |
169+
|-------------------|------------------------|
170+
| `a` | Assign |
171+
| `m` | Comment |
172+
| `Control + Enter` | Submit comment |
173+
| `l` | Label |
174+
| `j` | Go to next in list |
175+
| `k` | Go to previous in list |
176+
177+
### Comments
178+
179+
| Shortcut | Description |
180+
|--------------------------------------------|----------------------|
181+
| `@`, type username | Mention someone |
182+
| `{{`, type code, `}}` | Format as code |
183+
| `{code}`, type code on next line, `{code}` | Format as code block |

0 commit comments

Comments
 (0)