diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 907cb81..069158c 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -99,6 +99,8 @@ bind -T copy-mode-vi y \ send -X copy-pipe } } +bind -T copy-mode-vi Y \ + if -F "#{selection_present}" { send -X copy-pipe-line } { send -X copy-pipe-end-of-line } # Clear selection or cancel copy-mode when nothing is selected bind -T copy-mode-vi Escape \