$READLINE_POINT
–
Readline Point
$READLINE_POINT is the position of the insertion point in the Readline line buffer, for use with bind -x.
Links
BashSupport Pro is a Bash IDE with support for $READLINE_POINT – try it now!