Update tmux colors and make copy paste work on wayland.
This commit is contained in:
@@ -43,12 +43,14 @@ bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
|
||||
|
||||
bind-key [ copy-mode
|
||||
bind-key ] paste-buffer
|
||||
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'wl-copy --foreground'
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
|
||||
# Status Bar
|
||||
set-option -g status-interval 1
|
||||
set-option -g status-left ''
|
||||
set-option -g status-right '%H:%M '
|
||||
set -g window-status-current-style 'fg=brightwhite,bg=blue'
|
||||
set -g window-status-current-style 'fg=black,bg=blue'
|
||||
|
||||
# Set window notifications
|
||||
setw -g monitor-activity on
|
||||
@@ -61,6 +63,7 @@ set-option -g repeat-time 0
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @override_copy_command "wl-copy --foreground" # default to wayland
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user