Skip to content

SalmaAlassal/Femto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Can u go smaller?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.9%
  • QMake 1.2%
  • Makefile 0.9%