CTRL-r
recall previous commands by searching for them
CTRL-t
transpose (swap) the two characters before the cursor with one another
ESC-t
transpose (swap) the two words before the cursor with one another
CTRL-y
paste the most previously-deleted string. Basically a sort of command-line editting “undo”
CTRL-z
stop the current process and send it to the background
#Tabs and windows
Ctrl-tab
Command-2
Command-option-1
Command-/
Command-d
Command-option-arrow
#Autocomplete
Command-;
#Quick Term
Command-i
#Paste
#Screenshots
Command-Shift-4
space
click a window
#Power Management
Shift-Control-Eject
#Shell
:r !command
#Navigation
gg
#Folding
zi
za
zj
zk
:FoldToggle
zc
zM
zv
zR
#Terminal tabs
This is the module format you don't know you need until you need it. Write your module once and have it work in a CJS/NodeJs, AMD, or Browser Global environment.
- You are migrating from namespaced (err, globals) code to either AMD or CJS modules or both.
- You can't yet factor out browser globals but also need to test your code via NodeJS (e.g. Mocha)