diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index e75fb9b..9126798 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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