comint-magic-space
comint-magic-space is an interactive compiled Lisp function in `comint.el
'.
(comint-magic-space ARG)
Expand input history references before point and insert ARG spaces.
A useful command to bind to SPC. See `comint-replace-by-expanded-history'.