https://github.com/azz/simple-text-editor
  
  
    (really) simple command-line text editor 
    https://github.com/azz/simple-text-editor
  
        Last synced: 8 months 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T09:34:16.000Z (almost 9 years ago)
- Last Synced: 2025-02-06T17:56:01.886Z (9 months 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)