You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason I need two ^Qs, and it doesn't work with multi-line editing.
An alternate version like:
local c LBUFFER=$PREBUFFER$LBUFFER
for (( c = $#LBUFFER; c > 0; c-- )); do
if [[ $LBUFFER[c] == \' ]]; then
LBUFFER[c]=\"
break
elif [[ $LBUFFER[c] == \" ]]; then
LBUFFER[c]=\'
break
fi
done
print -rz -- $LBUFFER$RBUFFER
zle send-break
would, but should change that so that it only uses that way if it's multiline, otherwise with single-line input, the send-break causes duplicate lines.
The text was updated successfully, but these errors were encountered:
For some reason I need two ^Qs, and it doesn't work with multi-line editing.
An alternate version like:
would, but should change that so that it only uses that way if it's multiline, otherwise with single-line input, the
send-break
causes duplicate lines.The text was updated successfully, but these errors were encountered: