Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)