Kakoune一个更好的代码编辑器

jopen 9年前

特点: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

</div>

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)

    </li>
  • Powerful text manipulation primitives