Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azz/simple-text-editor
(really) simple command-line text editor
https://github.com/azz/simple-text-editor
Last synced: 2 days ago
JSON representation
(really) simple command-line text editor
- Host: GitHub
- URL: https://github.com/azz/simple-text-editor
- Owner: azz
- Created: 2016-11-01T05:52:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T09:34:16.000Z (about 8 years ago)
- Last Synced: 2024-12-06T02:17:26.786Z (28 days ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# (Really) Simple Text Editor
JavaScript command-line text editor. No dependencies.
Based on Gary Bernhardt's [stream](https://www.twitch.tv/gary_bernhardt/v/90796516).
## Install
```bash
$ npm i -g simple-text-editor
```## Start
Start (new file):
```bash
$ simple-text-editor
```Start (load file):
```bash
$ 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)