acme is an editor created by Rob Pike as part of the Plan9 operating
system. It's often referred to as an "Integrating" Development
Environment (as opposed to an Integrated Development Environment). It's
mostly due to the way it leverages the operating system to provide all
its functionalities. The following example make use of custom scripts.
New myfile.txt
myfile.txt
Right click on the name above
Note: can also change the path in the tag and hit Get.
ctrl-f prefix
Start typing the prefix, then hit ctrl-f to have acme autocomplete.
Font
Indent ON
wc just executes the wc command, doesn't pipe anything to it.
|wc pipes the selection into wc and replaces the selection with the results.
>wc pipes the selection into wc and outputs the result in the error buffer.
g substr
substr can be any substring in the name of the document.
Right click on the file in the list of suggestion to open it.
plumber # this starts the plumber daemon plumber https://midnight.pub
Use the built-in scripts B and E
B myfile.txt # open myfile.txt on acme E # Same but returns to calling process only after editing
Note: plumber daemon needs to be running for these scripts to work.
Useful to do EDITOR=E