Add alternate keybind for navi in zellij

This commit is contained in:
2023-05-12 13:39:48 -05:00
parent 7bb95a8844
commit 1d3f899169

View File

@ -1,4 +1,9 @@
# Cheat my way through the CLI
if (( $+commands[navi] )); then
eval "$(navi widget zsh)"
# Add an alternate keybind (Ctrl-Esc) if we are in a Zellij session
if (( ${+ZELLIJ} )); then
bindkey '^\e' _navi_widget
fi
fi