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

https://github.com/tsoding/noed

Not ed(1) text editor
https://github.com/tsoding/noed

Last synced: 4 months ago
JSON representation

Not ed(1) text editor

Awesome Lists containing this project

README

          

# Noed

Not [ed(1)](https://linux.die.net/man/1/ed).

**THIS SOFTWARE IS UNFINISHED!!!**

## Quick Start

```console
$ ./build.sh
$ ./build/noed ./src/main.c
```

# Controls

We have two modes: Command and Insert. Just like in vi.

## Command Mode

| Key | Description |
|------------------------------------------|----------------------------------------|
| q | Quit the editor |
| SPACE or Alt+SPACE | Switch to Insert Mode |
| w | Move up one line |
| s | Move down one line |
| a | Move left one character |
| d | Move right one character |
| o | Move up one paragraph |
| l | Move down one paragraph |
| k | Move left one word |
| ; | Move right one word |
| O | Move to the beginning of the file |
| L | Move to the end of the file |
| K | Move to the beginning of the line |
| : | Move to the end of the line |
| DELETE | Delete one character at the cursor |
| BACKSPACE | Delete one character before the cursor |
| ENTER | Insert new line |

## Insert Mode

| Key | Description |
|--------------------------------------------|-----------------------------------------------------|
| Alt+SPACE or ESCAPE | Save the current file and switch to Command Mode |
| DELETE | Delete one character at the cursor |
| BACKSPACE | Delete one character before the cursor |
| ENTER | Insert new line |
| Any displayable ASCII character | Insert the character (unicode is not supported yet) |