Simple terminal text editor built and configured with lua
Built in C and Lua, this simple editor is my editor. I've tried on many occasions to build a minimal terminal text editor that meets my basic needs ... and failed to many times with all kinds of languages to get to a point where I could switch to it full time.
Hopefully this time, I get it done and get it right. The goal is to suit my text editing needs, now, if you have similar needs feel free to adopt this fun little editor. If you wish for something, feel free to add it in.
Given that it's built in the same language it can be scripted/configured with it should be easy for you to mold this editor into one that suits your needs if you are used to the vim family of editors.
Implemented
- Normal mode movement
- Insert mode buffer editing
Comming soon
- Opening and closing buffers
- Command mode
- Visual mode (+ visual line)
- Search mode
- Directory mode (minimode)
- Marks
- Auto-complete (based on tokens)
- Linting & Formatting
- Normal mode
- i Enter insert mode
- A Go to the end of the line and enter insert mode
- o Add a line below and enter insert mode
- esc Cancel keys entered
- h Move cursor left
- l Move cursor right
- j Move cursor down
- k Move cursor up
- 0 Move cursor to the beginning of the line
- $ Move cursor to the end of the line
- g g Move cursor to the beginning of the file
- G Move cursor to the end of the file
- Insert mode
- esc Enter normal mode
- ctrl-c Enter normal mode
- backspace Deletes a character left of the cursor
- del Deletes a character right of the cursor
- tab Insert spaces
- enter Inserts a new line
- any Inserts the character you typed
See LICENSE
file.