When comparing Kakoune vs Yi, the Slant community recommends Kakoune for most people. In the question“What are the best programming text editors?” Kakoune is ranked 11th while Yi is ranked 46th. The most important reason people chose Kakoune is:
Kakoune first started as a rewrite from scratch of vim, but then ended up being another text editor altogether. So it's inspired in a lot of ways from vim.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Will be familiar to vim users
Kakoune first started as a rewrite from scratch of vim, but then ended up being another text editor altogether. So it's inspired in a lot of ways from vim.
Pro More modern than vim
Pro Good UNIX citizen
It follows the UNIX philosophy by doing one thing well (text editing) and interfaces nicely with other CLI tools.
Pro Text selection mechanism
Kakoune works on selections, which are oriented, inclusive range of characters, selections have an anchor and a cursor character. Most commands move both of them, except when extending selection where the anchor character stays fixed and the cursor one moves around.
Pro Very expressive
Kakoune provides a very expressive set of commands, including various objects selection (paragraph, blocks, words), alignment support, conditional selection filtering...
This set of command is expressive enough to implement all the provided auto indentation logic.
Pro Actively developed and supported
Pro Self-documenting
A helper pops up when typing commands.
Pro Simpler and more consistent than Vim
Some keys select, other keys operate on the selections. Shift
is used to extend the selection, alt
is used for alternative behavior, e.g. reverse the search direction. No inconsistencies like Y
which means yy
and not y$
in 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 Small community
Con No real Windows support
Will compile under CygWin.
Con Default bindings do not play nice with OS X (Alt+???)
Con Written in C++
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.