jotavare / c-text-editor

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:BSD 2-Clause "Simplified" License


Languages

Language:C 98.5%Language:Makefile 1.5%