[tmux] fix copy mode and change theme

This commit is contained in:
Afonso Franco 2025-01-03 18:30:37 +00:00
parent 11bcb9d490
commit 86d0c775be
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
2 changed files with 6 additions and 4 deletions

View file

@ -4,5 +4,7 @@
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
bind P paste-buffer
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
# Copy mode mouse
unbind-key -T copy-mode-vi MouseDragEnd1Pane
bind-key -T copy-mode-vi MouseDown1Pane select-pane\; send-keys -X clear-selection

View file

@ -1,10 +1,10 @@
#!/usr/bin/env bash
# Hardcoded values
set -g status-bg "#1d2021"
set -g status-bg "#282828"
set -g @unfocused-fg "#d4be98"
set -g @focused-bg "#d4be98"
set -g @focused-fg "#1d2021"
set -g @focused-fg "#282828"
# Set status bar position
set -g status-position top
@ -28,7 +28,7 @@ set -g window-status-current-format '#[bg=#{@focused-bg},fg=#{@focused-fg}] #I:#
# AUTO RENAME WINDOW
set-option -g status-interval 1
set-option -g status-interval 5
set-option -g automatic-rename on