kakoune | mawww 's experiment for a better code editor | Text Editor library
kandi X-RAY | kakoune Summary
kandi X-RAY | kakoune Summary
Kakoune is a code editor that implements Vi’s "keystrokes as a text editing language" model. As it’s also a modal editor, it is somewhat similar to the Vim editor (after which Kakoune was originally inspired). 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 ranges of characters. Selections have an anchor and a cursor. Most commands move both of them except when extending selections, where the anchor character stays fixed and the cursor moves around. Join us on libera IRC #Kakoune.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kakoune
kakoune Key Features
kakoune Examples and Code Snippets
Community Discussions
Trending Discussions on kakoune
QUESTION
Is there any easy way to select/change/delete an argument in kakoune?
For example, if I have
...ANSWER
Answered 2019-Oct-22 at 11:33You can use the u
text-object.
So, while inside the parens type u
.
If you do u
instead, it will also select the following comma and space.
QUESTION
In Vim I would enter visual mode with V then just move the cursor up (with k).
In kak I can select a line with x and I can extend the selection downwards by pressing X multiple times or by moving the cursor down while still pressing shift with J, but if I go up while still pressing shift, with K I keep the selection, but not for the entire line, the selection on the first selected line somehow jumps to column 0.
...ANSWER
Answered 2017-May-29 at 18:39It's not ideal, but at this point the best I can find to make full-line selections up is to do what you've described: x and then scroll up by pressing shiftk.
Only once you've finished scrolling up, you must then expand the selection to include all full lines by pressing altx.
See the discussion in this Github kakoune issue for some great scripting solutions to this problem that you can add to your kakrc
.
One of those solutions is featured on the kakoune wiki:
QUESTION
After any Kakoune operation which results in multiple selections (like a global search with %s
, for example), I get multiple selections and when move up and down or left or right they all move.
How do I get back to having just my primary single selection?
...ANSWER
Answered 2017-May-27 at 18:42I had to ask on #kakoune @ freenode IRC, the answer is simply space.
QUESTION
I'm just starting with the Kakoune editor and somehow I was shown the message error during startup, see *debug* buffer for details
when I loaded a file with kak
.
I don't know if I'm too stupid to ask this, but I don't know how do I "see debug buffer". The :debug
option seems to be there to write something to the debug buffer, not read it.
ANSWER
Answered 2017-May-26 at 21:49It turns out that there's a buffer called "debug", to visit it you must
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kakoune
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page