Custom terminal based text editor written in C89, ncurses and UNIX headers.
- Syntax highlighting.
- Undo/Redo.
- Status bar.
- Under 40KB (~37KB).
- Designed to be compliant with UNIX/POSIX operating systems.
- Single file.
- Shell panel.
- Use UNIX/POSIX based OS. (e.g. Linux)
- Use GCC or any other C compiler.
- Have ncurses installed.
gcc -o ced main.c -lncurses./cedyour terminal might look different, I use xfce4 terminal
- Ctrl+H: Hide/Show the keybindings.
- Ctrl+Q: Quit
- Ctrl+S: Save
- Ctrl+O: Open
- Ctrl+Z: Undo
- Ctrl+Y: Redo
- Ctrl+G: Goto Line
- Ctrl+F: Search
- Ctrl+R: Replace (prompts the old text and new text, then does a naive replace all in every line)
- Ctrl+W: Shell panel toggle
- Ctrl+E: Enter shell command
- Ctrl+D: Duplicate current line
- Ctrl+K: Kill (delete) current line
- Ctrl+T: Toggle line numbers on/off
- Ctrl+U: Jump to top of file
- Ctrl+L: Jump to bottom of file
- Home/End, PgUp/PgDn: Navigation
- Mouse: Click to move cursor, wheel scroll
See Contributing for contribution.
ced is licensed under MIT License. Check LICENSE for more.
- Even though this uses a similar highlight.syntax file from my previous text editor they use a slightly different parser and the file itself is altered for better syntax highlighting.
- This editor is very similar to the previous editor, this just only a true single file and made in C89.
