Skip to content

Commit 7e5e760

Browse files
committed
Fix bug in copycat jump
1 parent 5cfbed4 commit 7e5e760

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/copycat_jump.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,12 @@ _copycat_go_to_line_with_jump() {
189189
elif [ "$TMUX_COPY_MODE" == "vi" ]; then
190190
# vi copy mode
191191
tmux send-keys G 0 :
192+
tmux send-keys "$line_number" C-m
192193
else
193194
# emacs copy mode
194195
tmux send-keys "M->" C-a g
196+
tmux send-keys "$line_number" C-m
195197
fi
196-
tmux send-keys "$line_number" C-m
197198
}
198199

199200
# maximum line number that can be reached via tmux 'jump'

0 commit comments

Comments
 (0)