You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
425 B

#!/usr/bin/env zsh
#_call_navi() {
# local selected
# if [ -n "$LBUFFER" ]; then
# if selected="$(printf "%s" "$(navi --print --fzf-overrides '--no-select-1' --query "${LBUFFER}" </dev/tty)")"; then
# LBUFFER="$selected"
# fi
# else
# if selected="$(printf "%s" "$(navi --print </dev/tty)")"; then
# LBUFFER="$selected"
# fi
# fi
# zle redisplay
#}
#
#zle -N _call_navi
#
#bindkey '^n' _call_navi