tmux: fix rotation direction

This is more intuitive, given the position of the `i` and `o` keys on
the keyboard:

  - C-o: rotates clockwise
  - C-i: rotates counter-clockwise
This commit is contained in:
Fernando Schauenburg 2024-08-01 23:08:17 +02:00
parent e0b35d87d4
commit de115d0e92

View file

@ -46,8 +46,8 @@ bind -r > swap-window -d -t :+
bind -r < swap-window -d -t :- bind -r < swap-window -d -t :-
# Choosing layouts # Choosing layouts
bind -r C-o rotate-window bind -r C-o rotate-window -D
bind -r C-i rotate-window -D bind -r C-i rotate-window -U
bind -r space next-layout bind -r space next-layout
bind C-m set main-pane-width 50% \; select-layout main-vertical bind C-m set main-pane-width 50% \; select-layout main-vertical