Use this instead of typing clear over and over.Ī lot of shell shortcuts work in iterm and it’s good to learn these because arrow keys, home/end When this doesn’t work ⌘ + K will tell iTerm to do it which works when you aren’t in a shell. Last command was wrong by a single typo or something.
This takes you off the home row but it’s easy to rememberįast way to jump to a word to correct a typo or “run again”
Use this with command history to repeat commands andĬycle and browse your history with up and down.Ĭtrl-R is faster if you know the string you are looking for. Use this to start over typing without hitting Ctrl-C Hopefully some of these change your life. To do it sometimes so adopt what you like best. There are many tips but I use these quite a bit. I’m assuming you are using bash or zsh on Mac. These might be helpful to getting you faster with the shell but really this ⌘+ Left Arrow (I usually move by tab number) ⌘ + Shift + Enter (use with fullscreen to temp fullscreen a pane!)Ĭtrl + ⌘ + Arrow (given you haven’t mapped this to something else) ⌘ + Alt + Shift and then drag the pane from anywhere ⌘ + Shift + D (mnemonic: shift is a wide horizontal key) ⌘ + backtick (true of all mac apps and works with desktops/mission control)