mirror of
https://github.com/denisidoro/navi
synced 2024-11-28 14:30:22 +00:00
95fc254736
Related: #37
9 lines
No EOL
201 B
Bash
9 lines
No EOL
201 B
Bash
_call_navi() {
|
|
# zle kill-whole-line
|
|
zle -U "$(NAVI_FZF_ALL_INPUTS=true navi --print "$(echo "$CUTBUFFER" | xargs)" <> /dev/tty)"
|
|
zle accept-line
|
|
}
|
|
|
|
zle -N _call_navi
|
|
|
|
bindkey '\eg' _call_navi |