diff --git a/.tmux.conf b/.tmux.conf index 94fb912..ecf016d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,8 +1,8 @@ # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'odedlaz/tmux-onedark-theme' +set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @onedark_date_format "%d.%m.%y" set -g default-terminal "tmux-256color" @@ -19,11 +19,11 @@ set -s escape-time 100 # Selection with mouse should copy to clipboard right away, in addition to the default action. unbind -n -Tcopy-mode-vi MouseDragEnd1Pane -bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel\; run "tmux save-buffer - | xclip -i -sel primary > /dev/null" +bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel\; run "tmux save-buffer - | wl-copy --primary" # Middle click to paste from the clipboard unbind-key MouseDown2Pane -bind-key -n MouseDown2Pane run "tmux set-buffer \"$(wl-copy --primary)\"; tmux paste-buffer" +bind-key -n MouseDown2Pane run "tmux set-buffer \"$(wl-paste --primary)\"; tmux paste-buffer" # Splitting bind-key h split-window -h