Skip to content

xyl1t/Yate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Yet another text editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •