;; vterm (setq vterm-ignore-blink-cursor t) (setq vterm-max-scrollback 100000)
(defun xiaolong/vterm (&optional buffer-name) "Redefine `vterm` to take a universal argument BUFFER-NAME." (interactive "BBuffer name: ") (vterm buffer-name))
This defines a procedure xiaolong/vterm
, which allows specifying a name for the resulting buffer, by using the universal argument (pressing C-u
before M-x xiaolong/vterm RET
).
For more info check out the docs of interactive
at: