Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
julianobarbosa avatar

Iterm2

  • 102 installs
  • 6 repo stars
  • Updated July 22, 2026
  • julianobarbosa/claude-code-skills

iTerm2 terminal emulator and tmux multiplexer expertise.

About

Complete reference for iTerm2 terminal emulator and tmux terminal multiplexer on macOS. Covers keyboard shortcuts, configuration, tmux integration, and productivity workflows.

  • tmux windows appear as native iTerm2 windows
  • Use iTerm2 shortcuts instead of tmux prefix

Iterm2 by the numbers

  • 102 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #247 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill iterm2

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs102
repo stars6
Last updatedJuly 22, 2026
Repositoryjulianobarbosa/claude-code-skills

What it does

iTerm2 terminal emulator and tmux multiplexer expertise.

Files

SKILL.mdMarkdownGitHub ↗

Iterm2

Complete reference for iTerm2 terminal emulator and tmux terminal multiplexer on macOS. Covers keyboard shortcuts, configuration, tmux integration, and productivity workflows.

Workflow Routing

When executing a workflow, do BOTH of these:

1. Call the notification script (for observability tracking):

   ~/.claude/Tools/SkillWorkflowNotification WORKFLOWNAME Iterm2

2. Output the text notification (for user visibility):

   Running the **WorkflowName** workflow from the **Iterm2** skill...
WorkflowTriggerFile
SetupTmux"setup tmux", "configure tmux"workflows/SetupTmux.md
TmuxSession"tmux session", "attach session", "detach"workflows/TmuxSession.md
TroubleshootTmux"tmux not working", "fix tmux"workflows/TroubleshootTmux.md

Examples

Example 1: Split terminal into multiple panes

User: "How do I split my terminal in iTerm2?"
→ References Shortcuts.md
→ Explains Cmd+D (vertical) and Cmd+Shift+D (horizontal)
→ Shows navigation with Cmd+Option+Arrow

Example 2: Setup tmux with iTerm2 integration

User: "How do I use tmux with iTerm2?"
→ Invokes SetupTmux workflow
→ Explains tmux -CC control mode
→ Shows native window integration benefits

Example 3: Manage persistent sessions over SSH

User: "Keep my terminal running after disconnect"
→ Invokes TmuxSession workflow
→ Creates named session with tmux new -s
→ Shows how to reattach after disconnect

Quick Reference

iTerm2 Essentials

ActionShortcut
Split VerticalCmd+D
Split HorizontalCmd+Shift+D
Navigate PanesCmd+Option+Arrow
Maximize PaneCmd+Shift+Enter
Next/Prev TabCmd+{ / Cmd+}
FindCmd+F
AutocompleteCmd+;
Paste HistoryCmd+Shift+H
Instant ReplayCmd+Option+B
Find CursorCmd+/

tmux Essentials

Default prefix: Ctrl+b

ActionShortcut
New Sessiontmux new -s name
List Sessionstmux ls or Ctrl+b s
Attach Sessiontmux attach -t name
DetachCtrl+b d
New WindowCtrl+b c
Split VerticalCtrl+b %
Split HorizontalCtrl+b "
Navigate PanesCtrl+b Arrow
Zoom PaneCtrl+b z
Close PaneCtrl+b x
Copy ModeCtrl+b [

iTerm2 + tmux Integration

Run tmux -CC for native iTerm2 integration:

  • tmux windows appear as native iTerm2 windows
  • Use iTerm2 shortcuts instead of tmux prefix
  • Sessions persist through disconnects
  • Dashboard available via Shell > tmux > Dashboard

Documentation Index

DocumentPurpose
Shortcuts.mdComplete keyboard shortcut reference
TmuxConfig.mdtmux configuration (.tmux.conf) guide
TmuxCommands.mdFull tmux command reference

---

Gotchas

  • "Reuse previous session's directory" is per-profile and per-context: New windows from Cmd-N use the profile's window setting; new tabs from Cmd-T use the tab setting. They differ — confusing when prompts open in unexpected directories.
  • `tmux -CC` requires the tmux server to be installed and started: If tmux is on a remote host but iTerm2 is local, tmux -CC attach works over SSH only when SSH was started from iTerm2 itself — not from a script that spawns a subshell.
  • Cmd-D split uses the current pane's profile, NOT the window default: Once a profile changes mid-session (via shell integration), new splits inherit the modified profile and can carry unwanted env or PATH.
  • `Ctrl+b` prefix conflicts with readline `transpose-words`: Vi-mode users who rebind it (set -g prefix C-a) must remember Ctrl+a also conflicts with screen and shell line-start — pick a free combo like C-Space.
  • Shell integration injects OSC 1337 escape codes: Pipelines that capture terminal output (script, asciinema) end up with garbled control sequences unless integration is disabled per-pane via Edit Session > Disable Shell Integration.
  • Status bar updates run on the main thread: Heavy custom status bar scripts (long git status, slow cloud CLIs) freeze the entire terminal — keep status callbacks under 100ms or run them async.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.