~
~
~
~
~
~ Yar Text Editor -- Ver. 0.3
~ <i> for editing mode
~ <ESC> for reading mode
~ <CTRL+/> for command mode
~
~ <CTRL+s> to Save
~ <CTRL+f> to Find
~ <CTRL+q> to Quit
~
~
~
READING │ [No Name] - 0 lines no ft | 1/0
Yar is a simple terminal text editor written in C based on the kilo tutorial.
- Distinct "vim-like" modes
- File opening/editing/saving
- Syntax Highlighting
- Text Search
- Configurable Settings
- Line Numbers
- Expand Tabs
- Tab size
These commands work regardless of the mode.
Ctrl + Q: Quit. Press 2x to force quit an unsaved file.Ctrl + S: Save fileCtrl + F: Find word/phrase. PressEscto cancel, and usearrow keysto navigateCtrl + /: Enter command mode
These commands only work in READING mode.
:: Enter command mode
After pressing Ctrl + /, the user is greeted with the : bar at the bottom to enter any of the following:
help: Prints all commandstabstop: Accepts 1 numerical argument. Sets size of tabs in spaces.expandtab: Accepts true/false. If true, tabs are written as spaces instead of tab characters.linenumbers: Accepts true/false. If true, line numbers are rendered on the left margin.quit: Attempts to close program. Warns of unsaved changes. Can be shortened toq. Add an!at the end to force quitwrite: Saves file to disk. Can be shortened tow. Same assaveandswritequit: Saves file to disk & closes program. Can be shortened towq