set -g mouse set -g default-terminal "xterm-ghostty" set-option -ga terminal-overrides ",xterm-256color:Tc" # bind P paste-buffer bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi V send-keys -X rectangle-toggle unbind -T copy-mode-vi Enter bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy' bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'wl-copy' bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'wl-copy' unbind -T copy-mode MouseDragEnd1Pane # bind -Tcopy-mode C-w send -X copy-pipe-and-cancel 'xclip -selection clipboard' # bind -Tcopy-mode M-w send -X copy-pipe-and-cancel 'xclip -selection clipboard' # bind -Tcopy-mode MouseDragEnd1Pane send -X copy-pipe-and-cancel 'xclip -selection clipboard' # unbind -T copy-mode MouseDragEnd1Pane # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'christoomey/vim-tmux-navigator' # set -g @plugin "janoamaral/tokyo-night-tmux" set -g @tokyo-night-tmux_time_format 12H set -g @tokyo-night-tmux_show_battery_widget 1 set -g @tokyo-night-tmux_battery_name "BAT0" set -g @tokyo-night-tmux_battery_low_threshold 21 # default # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'