gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.79k stars 3.36k forks source link

fix wrong comment when spliting window #623

Closed Ainevsia closed 1 year ago

Ainevsia commented 1 year ago

opposite comment: vertically and horizontally

gpakosz commented 1 year ago

Hello @Ainevsia 👋

I don't think there's a mistake here.

"split horizontally" conveys a left/right relationship, and for that you need the split to be vertical: tmux split-window -v.

"split vertically" conveys a top/bottom relationship, and for that you need the split to be horiziontal: tmux split-window -h.

Ainevsia commented 1 year ago

Oh, very sorry for this interrupt. I used to think that I can get two horizontally left-right panes after splitting horizontally, and I didn't realize that what the comment described is the way to split the current window. I think maybe -v should be used with vertical and maybe there is a typo. Apologize again

gpakosz commented 1 year ago

No problem