_aimo_bash() { if [[ -n "$READLINE_LINE" ]]; then READLINE_LINE=$(aimo -e "$READLINE_LINE") READLINE_POINT=${#READLINE_LINE} fi } bind -x '"\ee": _aimo_bash'