Skip to content

Latest commit

 

History

History
54 lines (46 loc) · 1.46 KB

README.md

File metadata and controls

54 lines (46 loc) · 1.46 KB

Femto

Everybody writes a screen editor. It's easy to do and makes them feel important.
- Rob Pike

You have heard of micro, nano, and pico, so now it is time for femto.

femto is a lightweight modal terminal-based text editor. It is based on ncurses with vim-like keybindings.

Features

  • Vim-like keybindings
  • Normal, Visual, and Insert modes
  • Basic Markdown syntax highlighting
  • Common editor features such as undo/redo, line numbers, scrolling, …
  • Fast find all, find and replace

Installation

  • The only dependency is ncurses.

Arch

sudo pacman -S ncurses

RHEL/Fedora

sudo dnf install ncurses-devel

Debian

sudo apt-get install libncurses5-dev libncursesw5-dev
  • Clone, compile, and run.
git clone https://github.com/Elkhdiwy/Femto.git
cd Femto
mkdir obj
make
./femto
  • Enjoy.

Todo

  • cpp syntax highlighting
  • support regex
  • string automata

Team Members