Skip to content

ToniLipponen/NotVim-Editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotVim Editor

A custom, 0 dependencies (yes, not even curses/ncurses), cross-platform VIM-like console-based text editor. Tested on Windows and Linux.


Demo

2024-08-13.12-33-10.mp4

Building

A CMake Build script is provided. CMake 3.12, as well as a C++20 compliant compiler is required.

To build, run

cmake -B {buildDir} -G {buildGenerator} -S {pathToCMakeScript} -DCMAKE_BUILD_TYPE=Release

cmake --build {buildDir} --config Release

EXAMPLE (While in root dir):

cmake -B ./out -G Ninja -DCMAKE_BUILD_TYPE=Release

cmake --build ./out --config Release

Usage

To use, navigate to the executable (either in {buildDir} or {buildDir}/bin most commonly). Then, run

./nve <filename.fileExtension>

OR IF USING COMMAND PROMPT

nve <filename.fileExtension>

EXAMPLE:

./nve test.cpp

This executable is a standalone executable, so you may also add this file to your system path and use it from anywhere


Known Bugs

  • Arrow keys cannot be held to quickly navigate through the screen on Linux.
  • Cursor does not save rendered position, but rather position within the file, so cursor may appear to jump around when moving up/down
  • Screen randomly flickers (not sure why, but I am working on finding the culprit)

Contributing

If you would like to contribute to this project, feel free to clone this repo, make a new branch and work on any changes you see necessary. If you come across any issues, feel free to make your own fix for it, or create an issue so I am aware of it and can fix it.

UNTESTED ON OSX (macOS).

From my understanding, this should still work on mac due to the Unix based nature of it, but it is untested.

About

A 0 dependencies Vim-Like editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.3%
  • CMake 0.7%