Skip to content

Abhijithmns/ted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-editor

A minimal Vim-like text editor written in C.

What it can do

  • Normal mode and Insert mode
  • Basic Vim keymaps
  • Load and save files
  • Terminal based

Test it out

mkdir build/ 
cd build
cmake ..
make

To load a file :

./editor <filename>

To create a test file run :

base64 /dev/urandom | head -c 500 > file.txt

change the 500 to a larger value to test with bigger files

TODO

  • Implement undo,redo functionality
  • Add Warnings
  • Working j,k keys
  • Add line number,col number to status bar
  • Scrolling,fix cursor

I use neovim btw

About

vim like text editor using gapbuffer data structure, ncurses

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors