Skip to content

realdanvanth/realvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

realvim

minimal text editor in c inspired by neovim

image

image

Installation and Execution

git clone https://github.com/realdanvanth/realvim.git
cd ~/realvim/src && gcc -Wall "text.c" -o text -lncurses && ./text text.c
cd ~/realvim/src && gcc -Wall "text.c" -o text -lncurses && ./text sample.txt

Text Editor Navigation Guide

Key Mode Action
wasd Navigation Move cursor (up, left, down, right).
q Command Quit the editor.
i Insert Switch to insert mode.
Escape Visual Return to visual/command mode.
: Command Enter command mode

Usage Notes:

  • Navigation Mode: Use wasd to move the cursor around within the document.
  • Insert Mode: Press i to start typing or editing the document content.
  • Quiting the Editor: Press q to exit the editor. Ensure all changes are saved beforehand.
  • Returning to Visual Mode: Press Escape to leave insert mode and switch back to visual mode.

About

minimal text editor in c inspired by neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published