Install with Pen
Pen.el on GitHub https://github.com/semiosis/pen.el/
Tutorial https://mullikine.github.io/posts/pen-el-tutorial/

Summary

The complex terminal built into Pen.el is a regular terminal that has an imaginary component.

You may connect the dockerized cterm to any host process simply by prefixing ct to any shell command.

Original article
https://mullikine.github.io/posts/imaginary-real-codex-complex/

This is how easy it is to use

  • First start the pen server
  • then prefix ct before vim or bash, or any command which runs on your host
    • it will then run that command inside pen.el and you get all the autocompletion, etc. so it’s a real terminal with Pen.el wrapped around it
  • Now you can use pen with vim, or nano, or codexify anything!

Another example