Need advice about which tool to choose?Ask the StackShare community!
CodeMirror vs Kakoune: What are the differences?
What is CodeMirror? In-browser code editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects. CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.
What is Kakoune? Vim inspired — Faster as in less keystrokes — Multiple selections — Orthogonal design. Kakoune is a code editor heavily inspired by Vim, as such most of its commands are similar to vi’s ones Kakoune can operate in two modes, normal and insertion. In insertion mode, keys are directly inserted into the current buffer. In normal mode, keys are used to manipulate the current selection and to enter insertion mode..
CodeMirror and Kakoune can be categorized as "Text Editor" tools.
Some of the features offered by CodeMirror are:
- Support for over 60 languages out of the box
- A powerful, composable language mode system
- Autocompletion (XML)
On the other hand, Kakoune provides the following key features:
- Multiple selections as a central way of interacting
- Powerful selection manipulation primitives
- Powerful text manipulation primitives
"Integrable in your application" is the top reason why over 3 developers like CodeMirror, while over 6 developers mention "Fast editing" as the leading cause for choosing Kakoune.
CodeMirror and Kakoune are both open source tools. CodeMirror with 18K GitHub stars and 3.92K forks on GitHub appears to be more popular than Kakoune with 4.85K GitHub stars and 354 GitHub forks.
Pros of CodeMirror
- Integrable in your application6
- Better content manipulation methods4
- Easy Custom Mode3
- JavaScript based1
- Easy setup1
Pros of Kakoune
- Multiple selections7
- Fast editing7
- Interactivity5
- Consistency of the underlying language4
- UNIX citizen4
- Self documented3