Skip to content

Instantly share code, notes, and snippets.

View Dianepdn's full-sized avatar

Diane P. Dai Nguyen Dianepdn

View GitHub Profile
@Dianepdn
Dianepdn / iterm2.md
Created November 26, 2018 03:53 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@Dianepdn
Dianepdn / gist:a10713c22b46b3bbd1c99b4f7088b324
Created November 26, 2018 03:32 — forked from itsmattsoria/gistfil1.textile
Mac Terminal Cheat Sheet

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor