Yate stands for "Yet another text editor" It's an extremely simple text editor for the terminal. WIP
Besides being able to edit text with yate, it also has following features
- undo/redo
Pressctrl+ufor undo, andctrl+rfor redo. - search
Pressctrl+f(f as in "find"), if there is more than one match you can move to the next match by clicking the up arrow or move to the previous match by clicking the down arrow. Pressenterto confirm orESC/ctrl+cto cancel. - saving a file by pressing
ctrl+s - movement shortcuts
Besides the usual arrow keys, keys such asPage up,Page down,HomeandEndalso work as expected, but on top of that, you can also pressctrl+xto jump the the next word andctrl+zto jump to the previous. If you don't want to move your cursor but just want to scroll right or left, you can do that withctrl+kandctrl+l. - Warning the user on an attempt to close a modified file
Dependencies:
- A C++17 compatible compiler
- The ncurses library (or PDCurses if you are on Windows)
- Cmake
mkdir build
cd build
cmake -G "Unix Makefiles" ..
make
./yate <file>In order to close yate, press ctrl+c
./yate [file][-t][-r][-c][-h]
This project is licensed under the MIT License