Skip to content

Commit f58f32b

Browse files
committed
fix: first input is space
Fixes #2
1 parent 9ee2a80 commit f58f32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easymotion.tmux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SMARTSIGN=$(get_tmux_option "@easymotion-smartsign" "false")
2626
tmp_file=$CURRENT_DIR/.keystroke
2727
# Execute Python script with environment variables
2828
tmux bind $(get_tmux_option "@easymotion-key" "s") run-shell "\
29-
printf '\x03' > $tmp_file && tmux command-prompt -1 -p 'easymotion:' 'run-shell \"printf '%1' > $tmp_file\"' \; \
29+
printf '\x03' > $tmp_file && tmux command-prompt -1 -p 'easymotion:' 'run-shell \"printf %s\\\\n \\\"%1\\\" > $tmp_file\"' \; \
3030
neww -d '\
3131
TMUX_EASYMOTION_HINTS=$HINTS \
3232
TMUX_EASYMOTION_VERTICAL_BORDER=$VERTICAL_BORDER \

0 commit comments

Comments
 (0)