Kakoune一個更好的代碼編輯器

jopen 9年前發布 | 9K 次閱讀 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

  • Client-Server architecture

    • Multiple clients on the same editing session

    • Use tmux or your X11 window manager to manage windows

  • 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

1.2. Screenshots

Kakoune in i3
Figure 1. Kakoune in i3
Kakoune in tmux
Figure 2. Kakoune in tmux


項目主頁:http://www.baiduhome.net/lib/view/home/1446384816225

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!