This text editor (vim wannabe) was built in C
with less than 1000 LOC, it doesn't need external libraries and utilizes standard VT100 escape sequences. The guide I followed, along with future implementation ideas, are available below.
- Linux environment;
- GNU Compiler collection
sudo apt-get install gcc make
;
Link | Source |
---|---|
Kilo Original | GitHub |
Kilo Guide | Website |
Vim | Website |
C99 | Wikipedia |
ANSI C | Wikipedia |
ANSI Escape Code | Wikipedia |
Bit Field | Wikipedia |
ASCII Table | Website |
Software Flow Control | Wikipedia |
Teleprinter | Wikipedia |
VT100 | Wikipedia |
VT100 User Guide | Website |
Ncurses | Wikipedia |
Terminfo | Wikipedia |
GNU Feature Test Macros | Website |
Unix Time | Wikipedia |
Variadic Functions | Wikipedia |
- More filetypes;
- Line numbers;
- Soft indent;
- Auto indent;
- Hard-wrap lines;
- Soft-wrap lines;
- Use ncurses;
- Config file;
- Modal editing;
- Multiple buffers;
If you find any issues or have suggestions for improvements, feel free to fork the repository and open an issue or submit a pull request.
This project is a derivative work created from scratch, inspired by the original guide authored by snaptoken and the original project developed by Salvatore Sanfilippo (antirez).
It is licensed under the BSD 2-Clause License by Salvatore Sanfilippo, included within this repository.