/femto

A small but usable emacs style text editor.

Primary LanguageC

femto - a tiny text editor

building

gcc femto.c -lncurses -o femto

using

./femto text_file

features

  • chorded key combinations
  • saves and loads ascii text files
  • vertical and horizontal scrolling
  • minibuffer showing current file, position in file, status messages, and current command keystrokes

limitations

  • does not handle unicode
  • does not handle files larger than memory

key combinations (currently hard-coded, and oriented for colemak usage)

  • C-k kill-line
  • C-w kill-word
  • C-l back-word
  • C-u forward-word
  • C-x c exit
  • C-x s save-buffer
  • C-n next-page
  • C-p prev-page
  • C-j insert-newline

what it looks like

Alt text