vi & iterm tips
Vi
Navigation
HJKL- Left, Next Line, Previous Line, Right⇧+G-Bottom of documentGG- Top of document
Fast Search
/- Search TermN- Next⇧+N- Previous
Command mode
:- enter command mode:w- write:q- quit:q!- quit without saving:wq- Write and quitZZ- Write and quit:efilename- open<filename>Esc- escape command modeu- undo last command
Editor Mode
i- Insert at current position⇧+I- Insert at start of linea- Append to end of lineo- Insert Line Below⇧+O- Insert Line Aboves- Deletecharacterat current position and insert⇧+S- Delete thecurrent lineand insert
iterm
Working with multiple terminals
⌘+T- New Tab⌘+←- Previous Tab⌘+→(⇧+⌘+→) - Next Tab⌘+w(⇧+⌘+←) - Close tab
Working with multiple terminals in same tab
⌘+D- Split Vertically with Current Profile ⌘D⇧+⌘+D- Split Horizontally with Current Profile⌘+]- Next Pane⌘+[- Previous Pane⌥+⌘+↑- Select Pane Above⌥+⌘+↓- Select Pane Below⌥+⌘+←- Select Pane Left⌥+⌘+→- Select Pane Right
Interacting with the terminal
⌘+K- Clear Buffer
Changing font size
⌘+-/⌘+0/⌘++
Mac
⌃+⌘+Space- Characters (특수문자)⌘+,- Preferences
Never miss a story from us, subscribe to our newsletter