https://github.com/gboncoffee/ved
Visual EDitor
https://github.com/gboncoffee/ved
c editor ncurses terminal text-editor
Last synced: 2 months ago
JSON representation
Visual EDitor
- Host: GitHub
- URL: https://github.com/gboncoffee/ved
- Owner: gboncoffee
- License: mit
- Created: 2023-01-05T05:15:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-08T13:47:19.000Z (over 2 years ago)
- Last Synced: 2024-12-28T07:20:25.337Z (over 1 year ago)
- Topics: c, editor, ncurses, terminal, text-editor
- Language: C
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Visual EDitor
Simple visual text editor written in pure C.
There's nothing here, just a playground. It's not usefull because of:
- Inserting/reading unicode causes segfault;
- Writing/reading a line bigger than the window width also causes segfault;
- Tab character is literally unsupported;
- The file name should not be bigger than 128 bytes.
## Quickstart
`$ make`
`$ ./ved akatsuki.txt`
## Keybinds
- Move left: `Ctrl + B` or `Left`.
- Move right: `Ctrl + F` or `Right`.
- Move up: `Ctrl + P` or `Up`.
- Move down: `Ctrl + N` or `Down`.
- Move to end of line: `Ctrl + E` or `End`.
- Move to beggining of line: `Ctrl + A` or `Home`.
- Delete character under cursor: `Ctrl + D` or `Del`.
- Exit: `Ctrl + x`.