Skip to content
/ yocto Public

A lightweight and very fast text editor using ncurses and gap buffer

License

Notifications You must be signed in to change notification settings

ikozyris/yocto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yocto

C/C++ CI A simple, compact and fast text editor using ncurses and a gap buffer, written in C++, in <1k lines of code. More information is available on the wiki.

A C++ file in Yocto

Usage

make build
sudo make install

Or use the user-friendly dialog utility (wizard.sh) which also supports configuring yocto

Keybindings

  • Save: Ctrl-S
  • Exit: Ctrl-C
  • Go to start of line: Ctrl-A
  • Go to end of line: Ctrl-E
  • Open other file Alt-R
  • Calculate x offset (for UTF-8): Alt-U
  • Enter built-in terminal: Alt-C
  • Show info: Alt-I (also command stats in built-in terminal)

How fast is it?

Some define fast as reasonably optimized, in yocto fast means faster than every other editor available. As anyone can understand from these benchmarks yocto is indeed fast.

About the name

Yocto is the SI (metric) prefix for 10^-24. Since this text editor is tiny, yocto is a suitable name.

License

Copyright (C) 2022-2024 ikozyris
Copyright (C) 2022-2024 gkozyris

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/.