diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 1fdb17b..2f17d6a 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -140,11 +140,11 @@ bind -T copy-mode-vi y \ } { command-prompt -k -p (operator-pending) { # do line-wise yank on yy - if -F "#{==:%%,y}" { + if -F "#{==:%1,y}" { send -X select-line } { send -X begin-selection - send "%%" + send "%1" } send -X copy-pipe }