tuareg icon indicating copy to clipboard operation
tuareg copied to clipboard

Using the terminal emulator Vterm (emacs-libvterm)

Open Fourchaux opened this issue 4 years ago • 1 comments

Tuareg 2.2.0 - Emacs 28.0 - OCaml 4.10.0

Trying (the excellent) Emacs-libvterm (Vterm) https://github.com/akermu/emacs-libvterm I wonder if it would be possible to run the OCaml REPL (e.g. with 'tuareg-eval-buffer') in a "vterm" buffer instead of the current "*OCaml*" buffer.

Thank you.

Fourchaux avatar Apr 21 '20 14:04 Fourchaux

You can fire up a REPL in vterm, and use comint-send-string or comint-send-region. Just be sure to pass the buffer name where vterm is running.

jeongsoolee09 avatar Jun 18 '21 08:06 jeongsoolee09