This repo contains useful iTerm2 scripts.
- iTerm2 3.3.4+ installed.
- Install the iTerm2 Python environment following instructions on page: Python API Introduction
A script for switching between two alternative tabs.
- Copy
alternative_tab.py
to~/Library/Application Support/iTerm2/Scripts/AutoLaunch
- Set a keybinding to
Invoke Script Functions...
, inputselect_alternative_tab()
- Restart iTerm2