Skip to content

A text editor built from scratch in C, using less than 1000 lines of code.

License

Notifications You must be signed in to change notification settings

jotavare/c-text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT

This text editor (vim wannabe) was built in C with less than 1000 LOC, it doesn't need external libraries and utilizes standard VT100 escape sequences. The guide I followed, along with future implementation ideas, are available below.

REQUIREMENTS

  • Linux environment;
  • GNU Compiler collection sudo apt-get install gcc make;

REFERENCES

Link Source
Kilo Original GitHub
Kilo Guide Website
Vim Website
C99 Wikipedia
ANSI C Wikipedia
ANSI Escape Code Wikipedia
Bit Field Wikipedia
ASCII Table Website
Software Flow Control Wikipedia
Teleprinter Wikipedia
VT100 Wikipedia
VT100 User Guide Website
Ncurses Wikipedia
Terminfo Wikipedia
GNU Feature Test Macros Website
Unix Time Wikipedia
Variadic Functions Wikipedia

FUTURE IDEAS

  • More filetypes;
  • Line numbers;
  • Soft indent;
  • Auto indent;
  • Hard-wrap lines;
  • Soft-wrap lines;
  • Use ncurses;
  • Config file;
  • Modal editing;
  • Multiple buffers;

LICENSE

This project is a derivative work created from scratch, inspired by the original guide authored by snaptoken and the original project developed by Salvatore Sanfilippo (antirez).

It is licensed under the BSD 2-Clause License by Salvatore Sanfilippo, included within this repository.