mvim is a VIM inspired modal-based text editor written in Cpp using the ncurses library.
mvim has the following dependencies:
git clone https://github.com/ErikDervishi03/mvim-textEditor.git
cd mvim-textEditor
mkdir build
cd build
cmake ..
sudo make install
- create a new file
mvim
- open an existing file
mvim filename
Normal - For motions and deletion
Insert - For inserting text \
Mode | Keybind | Action |
---|---|---|
Insert | Esc | change to Normal mode |
Normal | q | quit |
Normal | s | save |
Normal | h | Move cursor left |
Normal | j | Move cursor down |
Normal | k | Move cursor up |
Normal | l | Move cursor right |
Normal | x | Delete character |
Normal | g | Go to first line |
Normal | G | Go to last line |
Normal | o | Create line below current |
Normal | O | Create line above current |
Normal | i | Enter insert mode |
Normal | m | open a menu that explain keys |
Normal | a | go to the end of the line |
Normal | d | remove the line |