SkillAgentSearch skills...

Yate

Yet another text editor

Install / Use

/learn @xyl1t/Yate
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Yate

Yate stands for "Yet another text editor" It's an extremely simple text editor for the terminal. WIP

Features

Besides being able to edit text with yate, it also has following features

  • undo/redo
    Press ctrl+u for undo, and ctrl+r for redo.
  • search
    Press ctrl+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. Press enter to confirm or ESC/ctrl+c to cancel.
  • saving a file by pressing ctrl+s
  • movement shortcuts
    Besides the usual arrow keys, keys such as Page up, Page down, Home and End also work as expected, but on top of that, you can also press ctrl+x to jump the the next word and ctrl+z to 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 with ctrl+k and ctrl+l.
  • Warning the user on an attempt to close a modified file

Building

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

Options

./yate [file][-t][-r][-c][-h]

License

This project is licensed under the MIT License

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated11mo ago
Forks2

Languages

C++

Security Score

82/100

Audited on May 9, 2025

No findings