simple-text-editor
v0.0.2
Published
(really) simple text editor
Readme
(Really) Simple Text Editor
JavaScript command-line text editor. No dependencies.
Based on Gary Bernhardt's stream.
Install
$ npm i -g simple-text-editorStart
Start (new file):
$ simple-text-editorStart (load file):
$ simple-text-editor path/to/fileCommands
| 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)
