Kakoune一个更好的代码编辑器
特点:Vim的启发 · 更快更少的击键 · 多重选择 · 正交设计,K比V多一捺,Kakoune比Vim功能更多。
1. Introduction
Kakoune is a code editor heavily inspired by Vim, as such most of its commands are similar to vi’s ones, and it shares Vi’s "keystrokes as a text editing language" model.
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.
Kakoune has a strong focus on interactivity, most commands provide immediate and incremental results, while still being competitive (as in keystroke count) with Vim.
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.
Join us on freenode IRC#Kakoune
1.1. Features
-
Multiple selections as a central way of interacting
-
Powerful selection manipulation primitives
-
Select all regex matches in current selections
-
Keep selections containing/not containing a match for a given regex
-
Split current selections with a regex
-
Text objects (paragraph, sentence, nestable blocks)
-
-
Powerful text manipulation primitives
-
Align selections
-
Rotate selection contents
-
Case manipulation
-
Indentation
-
Piping each selection to external filter
</ul> </div> </li> -
Client-Server architecture
-
Multiple clients on the same editing session
-
Use tmux or your X11 window manager to manage windows
</ul> </div> </li> -
Simple interaction with external programs
-
Automatic contextual help
-
Automatic as you type completion
-
Macros
-
Hooks
-
Syntax Highlighting
-
Supports multiple languages in the same buffer
-
Highlight a buffer differently in different windows
</ul> </div> </li> </ul> </div> </div>
1.2. Screenshots
Figure 1. Kakoune in i3</div> -
-
-