This text editor (vim wannabe) was built in C in roughly 1200 lines of code, needs no external libraries, and drives the terminal with standard VT100 escape sequences. The guide I followed, along with ideas it does not implement, are listed 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;