Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroEmacs
----------

This is an experimental reimplementation of a terminal-based editor
inspired by MicroEmacs. It is written in C and uses the ncurses
library for screen handling.

The purpose of this project is to provide a small, lightweight, and
fast editor that runs in the terminal, with a structure simple enough
to be studied and extended. It is not intended to be a full Emacs
replacement, but rather a compact editor in the same spirit as
uEmacs of Linus Torvalds.

STATUS
------
The editor can open, edit and save text files in a single buffer.
Implemented features:

 - Cursor movement by character, word, line, page and buffer
 - Mark and region with on-screen selection highlight (C-Space)
 - Kill, copy and yank (C-w, M-w, C-k, C-y)
 - Undo (C-_ / C-/)
 - Incremental search with wrap-around (C-s)
 - File open with Tab completion (C-x C-f), save (C-x C-s)
 - Dired-style directory browser with ls -al details (C-x C-d)
 - Terminal resize handling

Press M-x help inside the editor for the full list of key bindings.

REQUIREMENTS
------------
 - A C compiler conforming to ISO C99 (tested with 'cc' and 'gcc').
 - The ncurses library must be installed.

BUILDING
--------
To build the editor, type:

    cc -o build build.c && ./build

This will produce an executable named 'em'.

You can run it with:

    ./em filename

----------------------------------------------------------------------
This software is provided as-is, with no warranty of any kind.
----------------------------------------------------------------------

About

Lightweight text editor in the spirit of MicroEmacs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages