Skip to content

Instantly share code, notes, and snippets.

@Seralto
Created October 25, 2019 19:47
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 Seralto/53ed6317be002b4e1f4aa1a90e307670 to your computer and use it in GitHub Desktop.
Save Seralto/53ed6317be002b4e1f4aa1a90e307670 to your computer and use it in GitHub Desktop.
## CHEAT SHEET
OBS: Some shortcuts may vary depending on the OS, Text editor, or previous configuration.
GENERAL
Insert line
below: ctrl+enter
above: ctrl+shift+Enter
Reopen last closed tab: ctrl+shift+t
Open link new tab:
ctrl+click
three fingers click
Send/Save: ctrl+enter
Move
words: ctrl+arrow
begin/end line: fn+arrow
erase word: ctrl+backspace/delete
select word: ctrl+shift+left/right
line: alt+up/down
-------------------------------------------------------------------
TERMINAL
delete word: ctrl+w
clear: ctrl+l
copy: ctrl+shift+c
paste: ctrl+shift+v
-------------------------------------------------------------------
SCREEN
move window between monitors: super+shift+up/down
maximize/minimize/move-left/right: super+arrow
-------------------------------------------------------------------
BROWSER
select url: ctrl+l
duplicate tab: select url and alt+enter
move tabs:
ctrl+fn+up/down (works in other places as well)
alt+number
-------------------------------------------------------------------
TOUCHPAD
paste selected: three fingers click
-------------------------------------------------------------------
Slack
edit last message: arrow up
search: ctrl+k
-------------------------------------------------------------------
## VSCODE (may vary)
select
all occurrences: ctrl+F2
next occurrence: alt+shift+d (via keybinding below)
duplicate
line: ctrl+d
selection: ctrl+d (via plugin below)
open preview: ctrl+k enter (or double click in tab)
PLUGINS
Brackets Select (alt+a)
Duplicate selection (ctrl+d)
Go to Spec (in my case: ctrl+shift+alt+t)
SNIPPETS (File/Preferences/User Snippets)
{
"Binding Pry": {
"prefix": "bp",
"body": [
"binding.pry"
],
"description": "Binding Pry"
}
}
KEYBINDINGS (File/Preferences/Keyboard Shortcuts)
[
{
"key": "shift+alt+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
}
]
-------------------------------------------------------------------
And finally, customize, create your own shortcuts, work less and have fun!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment