Skip to content

ErikDervishi03/mvim-textEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvim

mvim is a VIM inspired modal-based text editor written in Cpp using the ncurses library.

Demo

Quick Start

mvim has the following dependencies:

install mvim

  git clone https://github.com/ErikDervishi03/mvim-textEditor.git
  cd mvim-textEditor
  mkdir build
  cd build
  cmake ..
  sudo make install

how to run

  1. create a new file
  mvim
  1. open an existing file
  mvim filename

Modes

Normal - For motions and deletion
Insert - For inserting text \

Keybinds

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

inspiration

About

text editor vim like written in cpp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published