Femto Emacs vs Yi
When comparing Femto Emacs vs Yi, the Slant community recommends Yi for most people. In the question“What are the best open-source text editors for programming?” Yi is ranked 19th while Femto Emacs is ranked 37th. The most important reason people chose Yi is:
Yi has default configurations for Vim, Emacs, as well as CUA. It also makes several improvements that includes Sublime-like (multiple) cursors.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Well documented
A long and well written tutorial teaches how to program in femtolisp and write extensions for Femto Emacs.
Pro Highly compatible with Emacs
If you know Emacs, you can start using Femto Emacs immediately.
Pro Very small footprint
The size of the executable file and the femtolisp library add up to only 500 k. The C source code is also small and well documented, so one can easily modify it. You can also use the source code to learn how to program a text editor.
Pro Very fast startup time
For small files, Femto Emacs starts up faster than emacs or vim.
Pro Combines and improves upon the best text-editing features from your favorite editors
Yi has default configurations for Vim, Emacs, as well as CUA. It also makes several improvements that includes Sublime-like (multiple) cursors.
Pro More performant than Vim
Vim can be rather slow due the age of its code base. In particular, running large macros in Vim can be rather painful. Since Yi is being built from scratch it has been engineered for performance and with the benefit of hindsight.
Pro Extensible and modular editing features
As far as extensibility goes, Yi easily outstrips any other open-source text editor. Motions can be built from parser combinators, making them simultaneously flexible and modular - an open source hacker's dream.
Pro Plugins work together
Packages work together because they compile together.
Cons
Con No syntax coloring for Latex
The distribution comes with syntax coloring examples for many languages, like Haskell, C, Lisp, Python, etc. However, there is no scheme for Latex. If you need syntax coloring for Latex, you will need to add your own color scheme.
Con Source distribution only
Femto Emacs is distributed only in source form. Therefore, you need to install ncurses, gcc and compile it with make and make install. There is no binary distribution. If you want mouse support, you need to program it in femtolisp or in C. This should not be a problem if you are a programmer, but can become an issue if you don't know Lisp or C. If you want to use femtolisp on Windows, you will need mingw and ncurses.
Con Very few plugins available
Even though Yi is a general purpose text editor similar to Vim and Emacs, almost all of the plugins that have been written for Yi so far focus on supporting Haskell as a programming environment.
Con No way to reuse your existing customizations and keybindings
If you have spent years crafting your .vimrc
or .emacs
, there's no way to reuse it in Yi. You have to start from scratch.
Con Requires Haskell to compile and configure
GHC + Haskell packages makes for a rather large installation, which is a big ask for a relatively obscure terminal editor.