by rspk · 3y ago · 0 comments
bind-key | split-window -h
bind-key - split-window -v
More on my wiki: https://wiki.rsapkf.org/notes/unix/tmux/What tmux calls horizontal and vertical splits is inverse of those in Vim - hence -h flag for what most would call as vertical split. I suspect one of the authors was Australian!
In Sway and i3 if I make a vertical split and open a new window, it appears below (thus vertical), but the split was like a cut horizontally across. I've seen some people use the - and | keys for tmux splits which kind of avoids the language issues and turns it into which way the new line is drawn.