bric is a text editor based on kilo.
bric does not depend on any library (not even curses). It uses fairly standard VT100 (and similar terminals) escape sequences to write and read to and from the terminal.
git clone https://github.com/shnupta/bric
cd bric
make
make install
If you have performed a make install
then just bric <filename>
. It can be a new or existing filename.
Shortcuts:
Ctrl-Q - Quit
Ctrl-S - Save
Ctrl-F - Find
Ctrl-G - Goto
Arrow Keys - Move
- Git integration
- More syntax keyword colours
- More language syntax highlighting
- More shortcuts
- Yank & paste lines
- Append to end of line
- Jump to beginning of line
- Soft/hard wrap lines
- Auto indent
- Line numbers
- Config file rather than hard coded colours etc
I'm completely open to anyone forking and helping build features of the editor so go ahead and make a PR!
To submit any bugs or give feedback please add an issue on this repo.