Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tmux TerminalNew to Visual Studio Code? Get it now.
Tmux Terminal

Tmux Terminal

yuhan

|
1 install
| (0) | Free
iTerm2-style tmux panes and shortcuts in the VS Code terminal on macOS
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tmux Terminal

Use tmux panes in the VS Code integrated terminal on macOS. Each pane runs zsh, and you can click a pane to focus it.

Setup

Requires VS Code 1.139 or later and Homebrew. After installing the extension, open a new VS Code terminal to start tmux. On first activation, the extension selects its terminal profile as the default and adds the shortcuts below to your VS Code user keybindings. Those shortcuts still work as usual outside the terminal.

If you later choose another default terminal profile, the extension respects your choice. Run Tmux Terminal: Use as Default Terminal to switch back. When you first open a tmux terminal, the extension checks for tmux and, if needed, runs brew install --no-ask tmux without an installation confirmation prompt. Progress appears in a VS Code notification; installation errors appear in Output → Tmux Terminal.

The terminal stays wherever you have placed the VS Code terminal view. If task and debug terminal shells have not been configured, the extension sets them to zsh.

Shortcut Action
⌘D Split left and right
⌘⇧D Split top and bottom
⌘⌥ + arrow key Focus the pane in that direction
⌘W Close the current pane immediately
⇧Enter Insert a newline in zsh, Codex, and Coco input

These shortcuts apply on macOS when this extension is the default terminal profile and the terminal has focus. ⇧Enter inserts a literal newline in zsh and sends Alt+Enter to other programs. If a program uses custom keybindings, configure Alt+Enter to insert a newline there. ⌘W terminates the process running in the current pane.

Each new VS Code terminal starts a separate tmux session. The extension uses the vscode-integrated tmux socket and does not change your iTerm2 configuration.

Buy me a coffee / 请我喝杯咖啡

If Tmux Terminal makes your work a little smoother, you can buy me a coffee. Thank you for your support! ☕

如果 Tmux Terminal 让你用终端更顺手,欢迎请我喝杯咖啡。感谢你的支持!☕

Coffee donation QR code / 咖啡打赏二维码
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft