1 min read

Fully utilizing the Acme editor

I have been toying around with the Acme editor of late from Plan9port. I have found it to be an efficient tool, and I have succeeded in using it as my primary editor for nearly everything. However, using it as an external editor to other programs requires a bit of special magic.

P9P provides a script E which uses B which uses plumber which uses the p9server to communicate to Acme. By setting E as your EDITOR variable to use acme (or sam, if you prefer) as an external editor for applications like mutt, pine, or your favorite IDE. This is very convenient.

Just remember that E will quit right after it detects that the file has been modified, meaning that you can only save your file once. :)