Split horizontal: the shortcut in 6 apps
On Mac it is usually Ctrl+W S (2 of 5 apps); on Windows it is usually Ctrl+W S (2 of 4 apps); on Linux it is usually Ctrl+W S (2 of 4 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| EmacsSplit the window top and bottom | CtrlX,2 | CtrlX,2 | CtrlX,2 |
| NeovimSplit the window horizontally · Normal mode | CtrlW,S | CtrlW,S | CtrlW,S |
| tmuxSplit the pane top and bottom | CtrlB,Shift' | — | CtrlB,Shift' |
| VimSplit the window horizontally · Normal mode | CtrlW,S | CtrlW,S | CtrlW,S |
| WarpSplit the pane down | ShiftCmdD | — | — |
| Windows TerminalSplit with a new pane below | — | AltShift- | — |
How the apps compare
- Mac: Ctrl+W S in Neovim and Vim; Ctrl+X 2 in Emacs; Ctrl+B Shift+' in tmux; Shift+Cmd+D in Warp.
- Windows: Ctrl+W S in Neovim and Vim; Ctrl+X 2 in Emacs; Alt+Shift+- in Windows Terminal.
- Linux: Ctrl+W S in Neovim and Vim; Ctrl+X 2 in Emacs; Ctrl+B Shift+' in tmux.
Where and when it works
Learn it by pressing it: Emacs shortcuts practice, Neovim shortcuts practice, tmux shortcuts practice, Vim shortcuts practice, Warp shortcuts practice or Windows Terminal shortcuts practice.