_aimo_zsh() { if [[ -n "$BUFFER" ]]; then local _old=$BUFFER BUFFER+="⌛" zle -I && zle redisplay BUFFER=$(aimo -e "$_old") zle end-of-line fi } zle -N _aimo_zsh bindkey '\ee' _aimo_zsh