YATE (Yet another text editor) is a extremely simple text editor for the terminal. Runs on Linux, Windows (using Cygwin or the WSL), FreeBSD, macOS, and more.
Yate is based on Kilo - a small text editor that is written in less than 1K lines of code, by antirez.
Usage:
yate <filename>
Hot-Keys:
Hot-Key | Description |
---|---|
ctrl-d | Yanks and deletes the current line |
ctrl-f | Find occurences in file |
ctrl-h | Shows help |
ctrl-o | Opens file |
ctrl-p | Paste last yanked content |
ctrl-q | Exit the editor |
ctrl-s | Saves the currently opened file |
ctrl-x | Execute the currently opened file (Cellox, JBASIC, lua or python) |
ctrl-y | Yank the current line |
Rudimentary syntax highlighting for the following languages is provided:
The settings of the editor can be configured with a file named '.yaterc', that has to be located at the users home directory.
The available settings are:
STATUS_MESSAGE_DURATION = Duration in seconds for how long a status message will be displayed
TAB_STOP_SIZE = Size of a tabstop converted to white space's
Dependecies:
- A C compiler that is compatible with the C99 standard
- CMake
There is a prewritten scripts provided to build and install the editor in the scripts folder called 'install.sh'. The specified compiler and generator should probably be altered to fit your environment.
This project is licensed under the GNU General Public License