A minimal Vim-like terminal text editor written in C++.
- Gap buffer
- Raw terminal input
- Basic cursor movement
- File saving
make ./textmex ./newfile.txt #in the same directory
# or:
./textmex ~/Desktop/file.txtNote, though this is still very small scale and at the beginning of its development, it is made to be run on the terminal itself instead of a new app.
Ofcourse there are a lot of future improvements right now. The most basic ones probably are:
- Adding up and down arrow keys and "delete" too.
- Better UI: More options etc.
ESC :q : quit
ESC :wq : save and quit
Arrow keys : move cursor (only left and right done till now)
Backspace : delete