-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hey, thanks for making this code happen. Works better than all alternatives. I did catch a bug when the first symbol you enter is SPACE. This causes tmux to paste the contents of the easymotion.tmux file into stdout.
Here's the fix for easymotion.tmux:
tmux bind $(get_tmux_option "@easymotion-key" "s") run-shell "
printf '\x03' > $tmp_file && tmux command-prompt -1 -p 'easymotion:' 'run-shell "printf %s\\n \"%1\" > $tmp_file"' ;
neww -d '
TMUX_EASYMOTION_HINTS=$HINTS
TMUX_EASYMOTION_VERTICAL_BORDER=$VERTICAL_BORDER
TMUX_EASYMOTION_HORIZONTAL_BORDER=$HORIZONTAL_BORDER
TMUX_EASYMOTION_USE_CURSES=$USE_CURSES
TMUX_EASYMOTION_DEBUG=$DEBUG
TMUX_EASYMOTION_PERF=$PERF
TMUX_EASYMOTION_CASE_SENSITIVE=$CASE_SENSITIVE
TMUX_EASYMOTION_SMARTSIGN=$SMARTSIGN
$CURRENT_DIR/easymotion.py $tmp_file'"