#set -g terminal-overrides 'xterm*:smcup@:rmcup@' set -g @plugin 'tmux-plugins/tpm' # Mouse Scrolling set -g mouse on #set -g @plugin 'nhdaly/tmux-better-mouse-mode' #set -g @scroll-without-changing-pane "on" #set -g @emulate-scroll-for-no-mouse-alternate-buffer "on" #unbind -T copy-mode MouseDragEnd1Pane #bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection primary -filter | xclip -selection clipboard" # Mouse Copy set -g @plugin 'tmux-plugins/tmux-yank' set -g @yank_action 'copy-pipe-no-clear' #bind -T copy-mode C-C send -X copy-pipe-no-clear "xsel -i --clipboard" #bind -T copy-mode-vi C-C send -X copy-pipe-no-clear "xsel -i --clipboard" #bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip" #set -g @yank_with_mouse off #set -g @yank_line 'C-C' # Split bind S-down split-window -v bind S-right split-window -h # Navigation bind -n C-Left select-pane -L bind -n C-Right select-pane -R bind -n C-Up select-pane -U bind -n C-Down select-pane -D bind -n C-S-Left previous-window bind -n C-S-Right next-window # Config bind R source-file ~/.tmux.conf \; display "Config reloaded!" # Colors set -g default-terminal "screen-256color" set -g pane-border-style fg='#008b8b' set -g pane-active-border-style fg='#34E2E2' set -g message-style bg='#222222',fg='#34E2E2' set -g status-style bg='#222222',fg='#AD7FA8' # Status set -g status-left '#{?client_prefix,#[fg=#008b8b]█, }' set -g status-interval 1 set-window-option -g window-status-style fg='#008b8b',bg=default set-window-option -g window-status-current-style fg='#222222',bg='#ad7fa8' # Load Plugins run '~/.tmux/plugins/tpm/tpm'