Tex is a minimalist text editor for bash terminals, written in c, with 0 dependencies. The reason for starting this project was to have a fun way to implement all the knowledge I've recently learned in school. Especially since my school projects have been less exciting, a 64Kb Memory allocator for a recent example. Has no relation to the typesetting system, TeX.
- lightweight minimalist editor with all the basic features you'd expect
- Robust incremental search with ability to jump between matches
- Filetype detection
- Language based syntax highlighting
- Open source
# clone project from git into current directory
git clone https://github.com/jlemanski1/Tex.git
# Compile
make all
# Install
make install
tex # Create a new file with Tex
tex test.txt # Open file test.txt in Tex
Key | Usage |
---|---|
NAVIGATION | ------------------------------------------- |
ARROW_UP |
Move cursor up |
ARROW_DOWN |
Move curosr down |
ARROR_RIGHT |
Move cursor right |
ARROW_LEFT |
Move cursoor left |
PAGE_UP |
Jump cursor to BOF |
PAGE_DOWN |
Jump cursor to EOF |
HOME |
Jump cursor to start of line |
END |
Jump cursor to end of line |
TEXT MANIPULATION | ------------------------------------------- |
DEL |
Delete character right of curor |
BACKSPACE |
Delete character left of cursor |
CTRL-H |
Delete character left of cursor |
ENTER |
Insert a new line |
EDITOR CONTROLS | ------------------------------------------- |
CTRL-S |
Save the file on disk |
CTRL-F |
Find a string in the file |
CTRL-Q |
Quit the editor |
- Implement a search feature
- Implement syntax highlighting
- Filetype detection
- Language based syntax highlighting
- Add support for additional languages
- Shift select words
- Copy & Paste
- Auto indent newlines to same level as previous one
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project uses the Semantic Versioning idealogy, a short summary can be found below, with more information found on the website