dotfiles/.config/tmux/tmux.conf
2021-03-23 17:55:52 +01:00

36 lines
1.3 KiB
Plaintext

bind R source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded..."
bind C new-window nu
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
set-option -g history-limit 3000
set -g base-index 1
set -g mouse on
set -s escape-time 0
set -g status-interval 2
#set -g status-justify centre # center align window list
#set -g status-left-length 20
set -g status-right-length 200
#set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
#set -g status-left '#[fg=default,bg=default,bright]#(sysinfo)'
set -g status-left ''
set -g status-right " #(/home/arne/.local/bin/sysinfo) %H:%M"
#set -g status-right ''
set-option -g status-interval 1
#set-option -g automatic-rename on
#set-option -g automatic-rename-format '#{b:pane_current_path}'
#set -g window-status-format '#I:#(pwd="#{pane_current_path}"; echo ${pwd####*/})'
set -g automatic-rename on
set -g automatic-rename-format '#{b:pane_current_path} #{b:pane_current_command}'
set -g window-status-format '#I:#{b:pane_current_path}'
set -g window-status-current-format '#I:#[bg=white]#{pane_current_command}'
set -g default-terminal screen-256color
# Apply Tc
set-option -ga terminal-overrides ",screen-256color:Tc"