tmux: various changes

Command to save pane output
New color configuration
tmux-thumbs settings
This commit is contained in:
Arne Keller 2022-02-07 09:06:37 +01:00
parent 74a932cc1a
commit 9526077d0f

View File

@ -1,9 +1,9 @@
bind R source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded..."
bind C new-window nu
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
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-option -g history-limit 10000
set -g base-index 1
set -g mouse on
@ -29,7 +29,14 @@ 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
set -g default-terminal "tmux-256color"
set -g terminal-overrides ",alacritty*:Tc"
# Apply Tc
set-option -ga terminal-overrides ",screen-256color: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