Re:GRV – Git Repository Viewer
by _sdegutis on Wednesday January 31, 2018 @04:48PM
(#16277840)
Kilo is a great way to learn how to manipulate the terminal directly (rather than using a wrapper library like ncurses): https://github.com/antirez/kilo (A text editor in less than 1000 LOC with syntax highlight and search.)
[ Parent
| on HN ]
There are many forks of this, which I think is a testament to how simple, clean, and easy to modify this code was.
The initial blog-post which announced the editor is worth a read, as is the discussion here:
https://news.ycombinator.com/item?id=12065217
My own version adds Lua support, multiple buffers, and similar features. It is by no means the best of the editors but I had fun playing with it - to the extent I was almost tempted to write an editor. (But then I realized I already have vim for writing email, and emacs for everything else. The world really doesn't need another editor!)