Move tmux config

This commit is contained in:
Arne Keller 2021-03-23 17:55:52 +01:00
parent fbaf0efe58
commit b4738ccf10
2 changed files with 35 additions and 12 deletions

35
.config/tmux/tmux.conf Normal file
View File

@ -0,0 +1,35 @@
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"

View File

@ -1,12 +0,0 @@
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
set -g base-index 1
set -g mouse on
set -g status-interval 1
#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-right "#(sysinfo) \"#{=21:pane_title}\" %H:%M %d-%b-%y"