clear all open panes in iterm2

These shortcuts and functions in iterm2 just made my life so much easier:

  • clear buffer Cmd + k
  • clear lines (Bash command) Ctrl + l
  • input to all panes in current tab Cmd + Alt + i

I clear panes quite often when working with containers and I usually have quite a number of panes open. Being able to quickly clear my current one or all of them is really helpful.

Originally found on teohm.com – Working effectively with iTerm2