Skip to content

↑↓ moveEnter openEsc close

Close pane: the shortcut in 5 apps

5 apps · Mac, Windows and Linux

On Mac it is usually Ctrl+W Q (2 of 4 apps); on Windows it is usually Ctrl+W Q (2 of 4 apps); on Linux it is usually Ctrl+W Q (2 of 4 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
EmacsClose this windowCtrlX,0CtrlX,0CtrlX,0
NeovimClose the window · Normal modeCtrlW,QCtrlW,QCtrlW,Q
tmuxKill the paneCtrlB,X—CtrlB,X
VimClose the window · Normal modeCtrlW,QCtrlW,QCtrlW,Q
Windows TerminalClose the pane (or the tab)—CtrlShiftW—

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: Ctrl+W Q in Neovim and Vim; Ctrl+X 0 in Emacs; Ctrl+B X in tmux.
  • Windows: Ctrl+W Q in Neovim and Vim; Ctrl+X 0 in Emacs; Ctrl+Shift+W in Windows Terminal.
  • Linux: Ctrl+W Q in Neovim and Vim; Ctrl+X 0 in Emacs; Ctrl+B X in tmux.

Where and when it works

Learn it by pressing it: Emacs shortcuts practice, Neovim shortcuts practice, tmux shortcuts practice, Vim shortcuts practice or Windows Terminal shortcuts practice.