Tmux : Small fixes.

This commit is contained in:
Dmitry Voronin 2024-06-23 06:43:45 +03:00
parent 892d620ab8
commit 016354bf1e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 9 additions and 8 deletions

View file

@ -9,15 +9,15 @@
stepHorizontal = 1;
in {
text = ''
bind -n ${mod}-- split-window -h -c "#{pane_current_path}"
bind -n ${mod}-\\ split-window -v -c "#{pane_current_path}"
bind -n ${mod}-\\ split-window -h -c "#{pane_current_path}"
bind -n ${mod}-- split-window -v -c "#{pane_current_path}"
bind -n ${mod}-= select-layout tiled
bind -n ${mod}-k resize-pane -U ${toString stepVertical}
bind -n ${mod}-j resize-pane -D ${toString stepVertical}
bind -n ${mod}-h resize-pane -L ${toString stepHorizontal}
bind -n ${mod}-l resize-pane -R ${toString stepHorizontal}
bind -n ${mod}-a swap-pane -U
bind -n ${mod}-d swap-pane -D
bind -n ${mod}-k resize-pane -U ${toString stepVertical}
bind -n ${mod}-j resize-pane -D ${toString stepVertical}
bind -n ${mod}-h resize-pane -L ${toString stepHorizontal}
bind -n ${mod}-l resize-pane -R ${toString stepHorizontal}
bind -n ${mod}-a swap-pane -U
bind -n ${mod}-d swap-pane -D
unbind '"'
unbind %

View file

@ -7,6 +7,7 @@
in {
text = ''
bind-key -n ${mod}-f set-option -g status;
set -g status-left-length 50
set -g status-position bottom
set -g status-justify left
set -g status-style "fg=#${fg}"