dotfiles/.config/tmux/tmux.conf
Arne Keller 9526077d0f tmux: various changes
Command to save pane output
New color configuration
tmux-thumbs settings
2022-02-07 09:06:37 +01:00

43 lines
1.6 KiB
Plaintext

bind R source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded..."
bind P command-prompt -p 'save history to filename:' -I '~/Documents/log.txt' 'capture-pane -S - ; save-buffer %1 ; delete-buffer'
bind-key -n M-Right next-window
bind-key -n M-Left previous-window
set-option -g history-limit 10000
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 "tmux-256color"
set -g terminal-overrides ",alacritty*:Tc"
set -g @thumbs-command 'echo "${THUMB}" | tr -d "\n" | xclip -sel clip'
set -g @thumbs-alphabet dvorak
set -g @thumbs-unique true
set -g @thumbs-regexp-1 '<([^@< ]+@[^@> ]+)>| ([^ @<]+@[^ >]+) ' # Match emails
set -g @thumbs-disable-1 ipv6
set -g @thumbs-disable-2 number
set -g @thumbs-disable-3 markdown_url
run-shell ~/.config/tmux/tmux-thumbs.tmux