Modal code editor built around multiple selections, inspired by Vim
open sourceUnlicenseself-hostablefree
Kakoune is a modal terminal code editor inspired by Vim that puts multiple selections at the centre of editing: you select text first (by regex match, filtering, splitting, text objects) and then act on every selection at once, so edits take fewer keystrokes. It has contextual help, as-you-type completion and syntax highlighting, and an orthogonal design that leaves windowing to your terminal multiplexer or window manager. Its client/server architecture lets several windows edit the same session. You extend it with hooks, macros and shell commands, and the community maintains plugins. Written in C++ for Linux, macOS and Cygwin. Public domain (Unlicense).
Problems it solves
- a modal text editor like Vim but with multiple cursors as the main way to edit
- edit many matches of a regex at once in a terminal editor
- a keyboard-driven terminal code editor that works with tmux and my window manager
- an alternative to Vim with a more consistent selection-first command model
Features
- multiple selections as the central editing model
- selection primitives: regex matches, filtering, splitting, aligning, text objects
- contextual help and as-you-type completion
- syntax highlighting for many languages
- client/server architecture: several windows on one session
- hooks, macros and shell integration for customization
- community plugins
Limitations
- Builds on Linux, macOS and Cygwin only: no native Windows version is planned1
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Kakoune does.
- Neovim hyperextensible Vim-based text editor
- Vim Vim - the ubiquitous text editor
- Helix Post-modern modal text editor for the terminal
- Microsoft Edit A simple, modeless terminal text editor from Microsoft, an homage to MS-DOS Editor
- micro A modern and intuitive terminal-based text editor
- Cursor Cursor is your coding agent for building ambitious software.
