Add iTerm2 support via Python AutoLaunch script#3
Merged
Conversation
- iterm2/paws.py: ~60-line Python script using the iTerm2 Python API; registers paws_toggle() (Cmd+G), paws_picker() (Cmd+Shift+P), paws_help() (Cmd+H) as RPC functions. Tab state persisted to ~/.config/paws/iterm2-tab-id so toggle survives config reloads. - docs/iterm2-setup.md: step-by-step setup guide (copy script, reload, bind 3 keys in Settings β Keys β Key Bindings) - README/README.zh: badge updated to "Kaku | WezTerm | iTerm2"; install section shows all three terminal paths - SKILL.md: preconditions include iTerm2; Step 2 split into 2a (Lua) and 2b (Python script for iTerm2) iTerm2 requires one extra step vs WezTerm (manual key binding in GUI) but runtime behavior is identical once set up. https://claude.ai/code/session_017EVNoc8mhrztPNg2S1QEA3
485d20c to
9ebb2f8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds native iTerm2 support, expanding Paws to cover the three most popular macOS terminals.
iterm2/paws.pyβ ~60-line Python AutoLaunch script using the iTerm2 Python API. Registers three RPC functions:paws_toggle()(Cmd+G spawn-or-focus),paws_picker()(Cmd+Shift+P reopen),paws_help()(Cmd+H open repo). Tab ID persisted to~/.config/paws/iterm2-tab-idso toggle survives reloads.docs/iterm2-setup.mdβ step-by-step setup guide (copy script, reload in iTerm2, bind 3 keys in Settings β Keys)UX comparison
Why this matters for reach
iTerm2 is the most-installed macOS terminal. Paws now covers Kaku + WezTerm (~15k stars) + iTerm2 β together that's the majority of macOS developer terminal users.
Generated by Claude Code