(Really) Simple Text Editor
JavaScript command-line text editor. No dependencies.
Based on Gary Bernhardt's stream.
Install
$ npm i -g simple-text-editor
Start
Start (new file):
$ simple-text-editor
Start (load file):
$ simple-text-editor path/to/file
Commands
Command | Description |
---|---|
^B or ← |
Backward |
^F or → |
Forward |
^N or ↓ |
Next Line |
^P or ↑ |
Prev Line |
^A |
Start of Line |
^E |
End of Line |
^C |
Exit |
^S |
Save (only when a file is loaded) |