JavaScript command-line text editor. No dependencies.
Based on Gary Bernhardt's stream.
Commands:
| Command | Description |
|---|---|
^B |
Backward |
^F |
Forward |
^N |
Next Line |
^P |
Prev Line |
^A |
Start of Line |
^E |
End of Line |
^C |
Exit |
^S |
Save (only when a file is loaded) |
Start (new file):
$ node editor.jsStart (load file):
$ node editor.js path/to/file