Simple terminal code editor with basic vim-like bindings and syntax highlighting
Clone the repo into your folder
cd *your-folder*
git clone https://github.com/mediocreeee/helis.git
Compile the program with make
make
Run the helis binary
./helis
or with file you want to edit
./helis textfile.c
- h - move cursor left
- j - move cursor down
- k - move cursor up
- l - move cursor right
- 0 - move cursor to the beginning of a line
- $ - move cursor to the end of a line
- PageUp - scroll one page up
- PageDown - scroll one page down
- gg - move cursor to the beginning of a file
- G - move cursor to the end of a file
- / - search for a text
- ArrowUp/ArrowRight - go to the next occurrence
- ArrowDown/ArrowLeft - go to the previous occurrence
- x - delete a character under the cursor
- : - enable Cmd mode
- i - enable Insert mode
- I - move cursor to the beginning of a line and enable Insert mode
- a - move cursor right and enable Insert mode
- A - move cursor to the end of a line and enable Insert mode
- o - create newline down and enable Insert mode
- O - create newline up and enable Insert mode
- q/quit - exit from helis
- w/write - write changes to the disk