Skip to content

Instantly share code, notes, and snippets.

@joshmfrankel
Last active June 15, 2021 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshmfrankel/0fb1ae891a9e7c3eb31c437183037cb4 to your computer and use it in GitHub Desktop.
Save joshmfrankel/0fb1ae891a9e7c3eb31c437183037cb4 to your computer and use it in GitHub Desktop.
My Keyboard Shortcuts

System

Action Shortcut
Spotlight Search super + space
Application Window super + up
Mission Control super + down
Clippy History alt + v
Workspace navigate right super + right
Workspace navigate left super + left
Workspace show active windows super + down
Emoji Picker ctrl + super + space

Where to add these

  • System Preferences -> Keyboard -> Shortcuts

Sublime Text

Action Shortcut
Open Recently Closed Tab ctrl + shift + t
Goto Anything ctrl + p
Command Palette ctrl + shift + p
Expand selection to next match ctrl + d
{ "keys": ["ctrl+shift+t"], "command": "reopen_last_file" },
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["ctrl+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
{ "keys": ["ctrl+d"], "command": "find_under_expand" },

iTerm2

Global Keymappings

Action Shortcut Key Binding
Home alt + left Send Hex Codes: 001
End alt + right Send Hex Codes: 005
Copy ctrl + c -
New Tab ctrl + t -
Paste ctrl + v -
Close ctrl + w -
Previous Tab ctrl + alt + left
Next Tab ctrl + alt right

See: https://webapplog.com/home-and-end-shortcuts-in-terminal/

Profile

  1. Remove all Key Mappings and set Natural Text Editing preset
  2. Remove option left and option right for home/end
  3. Set Hotkey Window (under keys) to double press shift

Without modification

Action Shortcut
Halt execution ctrl + shift c

Chrome

Action Shortcut
New Tab ctrl + t
Open Recently Closed Tab ctrl + shift + t
Hide Bookmark bar ctrl + shift + b

Magnet

Action Shortcut
Move Window to left ctrl + super + left
Move Window to right ctrl + super + right

Karabiner-elements setup

Action Shortcut
Page Up alt + up
Page Down alt + down
Home alt + left
End alt + right
Save ctrl + s
Copy ctrl + c
Paste ctrl + v
Cut ctrl + x
Find ctrl + f
Close ctrl + w
Undo ctrl + z
Redo ctrl + shift + z
Select All ctrl + a
Reload ctrl + r
Reload f5
Screenshot desktop print screen
Screenshot selection shift + print screen
New Tab ctrl + t
New File ctrl + n
New File in Window ctrl + shift + n
Bold ctrl + b
Underline ctrl + u
Italic ctrl + i

Kinesis RGB Pro setup

{"Key Mappings":{"0x77-0x40000-0xd":{"Label":"","Action":25,"Text":"Close\nClose"},"0xf702-0x280000-0x7b":{"Label":"","Action":11,"Text":"001"},"0x74-0x40000-0x11":{"Label":"","Action":25,"Text":"New Tab\nNew Tab"},"0xf703-0x2c0000-0x7c":{"Label":"","Action":0,"Text":""},"0xf703-0x280000-0x7c":{"Label":"","Action":11,"Text":"005"},"0x76-0x40000-0x9":{"Label":"","Action":25,"Text":"Paste\nPaste"},"0x63-0x40000-0x8":{"Label":"","Action":25,"Text":"Copy\nCopy"},"0xf702-0x2c0000-0x7b":{"Label":"","Action":2,"Text":""}},"Touch Bar Items":{}}
@joshmfrankel
Copy link
Author

ctrl + shift + r - Find symbol in project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment