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
- Host: GitHub
- URL: https://github.com/tsoding/noed
- Owner: tsoding
- License: mit
- Created: 2022-12-21T19:38:23.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T01:13:23.000Z (almost 3 years ago)
- Last Synced: 2025-06-04T07:02:13.390Z (7 months ago)
- Language: C
- Size: 57.6 KB
- Stars: 69
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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) |