diff --git a/.config/tmux/conf/binds.conf b/.config/tmux/conf/binds.conf index ac521cd8..008eb9c0 100644 --- a/.config/tmux/conf/binds.conf +++ b/.config/tmux/conf/binds.conf @@ -10,6 +10,12 @@ bind C-r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf relo setw -g mode-keys vi set -g status-keys vi +bind 'v' copy-mode +bind -T copy-mode-vi v send -X begin-selection +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy" +bind p paste-buffer +bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy" + # Split windows bind | split-window -hc "#{pane_current_path}" bind-key "\\" split-window -fh -c "#{pane_current_path}"