From e04953c123ba05cd2471f7b66864872803a47b0b Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 4 Jul 2024 14:44:06 +0200 Subject: [PATCH] tmux:yank: Add note about text object simulation --- .config/tmux/yank.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/tmux/yank.sh b/.config/tmux/yank.sh index 6e200ee..0339db3 100755 --- a/.config/tmux/yank.sh +++ b/.config/tmux/yank.sh @@ -1,5 +1,10 @@ #!/bin/sh +# Support repeatable motions when yanking from tmux's copy-mode. +# +# See also the `bind -T copy-mode-vi i ...` binding in tmux.conf +# (83945840b832 ("tmux: Rudimentary vim's text object simulation")) + get_var() { tmux display-message -p "#{$1}" }