brutalist text editor written in C. Uses tcc for compilation, c99 standard, and meant to work with musl.
The intent is to build a pragmatic text editor following the Unix philosophy.
First clone the repo:
git clone https://git.sr.ht/~fancycade/tox.c
Install development dependencies.
sudo apt install libtermbox-dev tcc indent
Add to your path:
Open a file:
Use the indent program for automatic formatting. This codebase follows the Kernighan and Ritchie style.
indent -kr tox.c
The build command includes this step making it a development dependency.
The brutalist release only has two relevant key commands:
The current master branch has additional features such as:
brutalist - extremely basic text editor
Fancy Cade hereby disclaims all copyright interest in the program (which edits text in the terminal) written by fancycade.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.