Kakoune is an editor that is a model code editor. It binds Vi keystorkes into a text editing language. Kakoune is highly inspired by Vi therefore it look slightly similar to expeirienced developers and system admins. It does a great job of editing files either on a local system or a server.
Here at LinuxAPT, we shall look into how to install Kakoune on Ubuntu 22.04 LTS.
To begin, run the below command to update the system packages:
$ sudo apt update
No, run the below command to install Kakoune Editor:
$ sudo apt install kakoune
Kakoune is a command-line-based and lightweight application. Therefore it can only be run via CLI. At the time of writing, Kakoune does not display any version number when invoked, but it does show that it is installed. Run the following command to find it out:
$ kak -version
To launch Kakoune editor, you will have to run the following command:
Kakoune will begin running once you invoke the kak command.
The Following key bindings will help you to navigate through the editor:
You can run the below command to remove Kakoune editor from the system:
$ sudo apt remove kakoune
This article covers how to install kakoune on Ubuntu 22.04. In fact, 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.