mirror of
https://github.com/denisidoro/navi.git
synced 2024-11-14 14:56:41 +03:00
95fc254736
Related: #37
9 lines
201 B
Bash
9 lines
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 |