z_mirror/hare-kilo
git clone https://git.raiguard.me/z_mirror/hare-kilo
caef1ef
trunk
languages
- Markdown 87.7%
- Makefile 12.3%
files
| .gitignore | 20 B |
| LICENSE | 1.1 KiB |
| Makefile | 94 B |
| README.md | 671 B |
| main.ha | 9.3 KiB |
hare-kilo
A small text editor written in Hare. Loosely based on the kilo text editor, though the similarities are few.
Build and run:
make ./kilo <filename>
Controls:
- Arrow keys: move
- Home, end, page up, page down: Move faster
Ctrl+S: SaveCtrl+Q: Quit- Any ASCII character: insert
If ctrl+s and ctrl+q are not being detected, add stty -ixon to your shell
init script to disable shell freezing. The planned input overhaul should
address this issue.
Todo:
- Overhaul input handling to allow unicode input (kitty escape codes)
- Syntax highlighting
- Reduce terminal CPU usage when holding keys
- Vim mode?