# # https://kekse.biz/ https://github.com/kekse1/ # ## #H hostname #I current window index #P current pane index #S session name #T current window title #W current window name ## #set -g default-shell /bin/bash set -g history-limit 16384 set -g status-right "%H:%M:%S" set -g status-bg '#4e4e4e' set -g status-fg '#ffffff' set -g status-left ' ' set -g status-right '#[bg=#bbbbbb]#[fg=#000000]#(cut -d " " -f -3 /proc/loadavg)#[bg=#4e4e4e]#[fg=#ffffff] %H:%M:%S' set -g window-status-format ' [#I] #W ' set -g window-status-current-format ' [#I] #W ' set -g window-status-current-style bg='#55ff55',fg='#000000' setw -g automatic-rename set -g pane-active-border-style fg='yellow' set -g pane-border-style fg='white' set -g status-interval 1 # "instead" ',' use 'r' like rename (but old ',' stays binded) bind-key r command-prompt -I "#W" "rename-window '%%'" bind-key R command-prompt -I "#S" "rename-session '%%'" # my "easier" split's # 'h'orizontal, 'v'ertikal # +, then the arrow keys to navigate between.. :-D bind-key h split-window -h bind-key v split-window -v # move windows (in their order) bind-key - swap-window -t :- bind-key + swap-window -t :+ # resizing, as usual, but now with bigger sizes # don't forget: with previous resizing, # without it just switching selected window (focus) bind-key C-Up resize-pane -U 5 #'C-Up' bind-key C-Down resize-pane -D 5 bind-key C-Left resize-pane -L 5 bind-key C-Right resize-pane -R 5 # '#' like in my Termux.. bind-key '#' new-window # bind-key d detach # swap current pane with last selected one bind-key s swap-pane -s '!' -t $TMUX_PANE set -g mouse on bind-key k confirm-before -p "KILL window #W (y/n)?" kill-window