/mvi

Minimal vi-like text editor

Primary LanguageCISC LicenseISC

mvi

Minimal vi-like text editor in ~500 SLOC.

mvi is less advanced than svi.

Commands

:d        - delete line
:q        - quit
:q!       - force quit
:w [file] - write to file
h,j,k,l   - left, down, up, right
i         - insert mode
ESC       - normal mode

Dependencies

  • ncursesw (or ansicurses with -lansicurses and #include <ansicurses.h>)
  • libutf (another compatible libutf here)

Description

The editor is very minimal, so few commands are supported. Search, substitute, etc, should rather be in a fork.

mvi is fully functional.