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.
- 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
- The only dependency is ncurses.
sudo pacman -S ncurses
sudo dnf install ncurses-devel
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.
- cpp syntax highlighting
- support regex
- string automata