diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 4c7ab06..f3f6dbb 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -39,6 +39,12 @@ program = "alacritty" [scrolling] history = 0 +[selection] +save_to_clipboard = false + +[terminal] +osc52 = "OnlyCopy" + [terminal.shell] args = ["-c", "$HOME/.tmux/tmux_attach.sh"] program = "/bin/zsh" diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index c1f88bd..7eb0b62 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -47,7 +47,7 @@ bind k clear-history\; display "History cleared" bind-key a set-window-option synchronize-panes -bind r source-file ~/.tmux.conf\; display "Conf reloaded!" +bind r source-file ~/.tmux.conf\; display "Tmux conf reloaded!" set -g mouse on set-option -g focus-events on @@ -79,6 +79,7 @@ set -g @yank_with_mouse off set -g @yank_action 'copy-pipe' bind-key -Tcopy-mode-vi 'C-right' send -X next-word bind-key -Tcopy-mode-vi 'C-left' send -X previous-word +unbind-key -T copy-mode-vi MouseDragEnd1Pane if '[ `uname` == Darwin ]' \ 'source-file ~/.tmux/.mac_config' @@ -95,7 +96,10 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'jimeh/tmux-themepack' -set -g @themepack 'powerline/double/blue' +set -g @plugin 'nhdaly/tmux-better-mouse-mode' +set -g @themepack 'powerline/double/green' + +set -g @tpm-clean 'u' setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"