$LBUFFER
–
Buffer content left of the cursor
$LBUFFER
contains the part of the buffer which is left of the cursor position.
If it’s modified, then only that part of the buffer is replaced.
Links
BashSupport Pro is a Zsh IDE with support for $LBUFFER – try it now!