mirror of
https://github.com/denisidoro/navi.git
synced 2024-11-09 23:38:08 +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 |