tmux/kitty: re-enable tmux
This commit is contained in:
@@ -12,21 +12,22 @@ set -ga terminal-overrides ",*256col*:Tc,alacritty:Tc"
|
||||
bind-key -n M-v split-window -h -c "#{pane_current_path}"
|
||||
bind-key -n M-s split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# pane selection
|
||||
# new windows
|
||||
bind-key -n M-c new-window -c "#{pane_current_path}"
|
||||
|
||||
# vi-style pane selection
|
||||
bind-key -n M-h select-pane -L
|
||||
bind-key -n M-j select-pane -D
|
||||
bind-key -n M-k select-pane -U
|
||||
bind-key -n M-l select-pane -R
|
||||
|
||||
# pane / window modifications
|
||||
# pane zoom
|
||||
bind-key -n M-f resize-pane -Z
|
||||
# use `set automatic-rename on` to reset
|
||||
|
||||
# window rename
|
||||
bind-key -n M-, command-prompt -p "Rename window:" "rename-window '%%'"
|
||||
bind-key -n M-< set automatic-rename on
|
||||
|
||||
# new windows
|
||||
bind-key -n M-c new-window -c "#{pane_current_path}"
|
||||
|
||||
# navigate windows
|
||||
bind-key -n M-1 select-window -t 1
|
||||
bind-key -n M-2 select-window -t 2
|
||||
@@ -39,13 +40,16 @@ bind-key -n M-8 select-window -t 8
|
||||
bind-key -n M-9 select-window -t 9
|
||||
|
||||
# swap panes
|
||||
bind-key -n 'M-H' swap-pane -D
|
||||
bind-key -n 'M-L' swap-pane -U
|
||||
bind-key -n 'M-J' swap-pane -D
|
||||
bind-key -n 'M-K' swap-pane -U
|
||||
|
||||
# move panes to and from windows
|
||||
bind-key -n 'M-t' command-prompt -p "Send pane to:" "join-pane -t :'%%'"
|
||||
bind-key -n 'M-!' select-layout even-horizontal
|
||||
bind-key -n 'M-@' select-layout even-vertical
|
||||
bind-key -n 'M-#' select-layout main-vertical
|
||||
|
||||
set -g main-pane-width 40%
|
||||
|
||||
# resize panes
|
||||
bind-key -n 'M-Left' resize-pane -L 5
|
||||
@@ -75,6 +79,9 @@ set-option -g status-interval 1
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string "#H: #W"
|
||||
|
||||
# Make inactive border a bit less noticeable
|
||||
set -g pane-border-style fg="#e3ddcc"
|
||||
|
||||
# Status
|
||||
set -g status-style "bg=default"
|
||||
set -g status-right "#S @ #H [%H:%M]"
|
||||
|
||||
Reference in New Issue
Block a user