Questions tagged [kakoune]
Kakoune is a free and open-source modal text editor; Vim-inspired, but selection-first.
13
questions
1
vote
1
answer
66
views
In Kakoune, is there a way to type something over and over?
In Vim, you can go 30i=<esc> to type 30 = signs. (This is handy for taking notes, becaus I like to put a bunch of equals signs under different section headers.)
Is there a way to do this in ...
0
votes
0
answers
20
views
pipe and replace with context
I am using kakoune's pipe (|) to format a ryd document, which is essentially a normal YAML file consisting of multiple YAML documents, several of which just have a (tagged) literal scalar at the root:
...
0
votes
1
answer
206
views
kak-lsp Log shows `Language server is not initialized`
I have installed kak-lsp successfully with plug.kak. I have placed the kak-lsp.toml in ~/.config/kak-lsp/kak-lsp.toml. For the rustlang part it looks like this:
[language.rust]
filetypes = ["rust&...
3
votes
1
answer
88
views
Change an argument in kakoune
Is there any easy way to select/change/delete an argument in kakoune?
For example, if I have
int foo(int arg1, int arg2)
and I would like to select int arg1. In spacemacs I can do this with via. ...
1
vote
2
answers
825
views
How to select surrounding parentheses?
How do I select the surrounding parentheses similar to vim-surround? I know I can do <alt-a>( or m to select the text in between, but how do I get two cursors at the end?
0
votes
1
answer
241
views
Passing selections to external commands as arguments rather than piping in kakoune
I am trying to send code to SBCL directly from Kakoune. I've settled on using tmux for this, the SBCL instance runs in a tmux instance with a given session name. The tmux command for passing in the ...
2
votes
1
answer
479
views
Kakoune: How to map "jump forward" and "jump back" in goto mode (e.g. map 'gp' to <c-i>)
I use the dvorak keyboard, and I'd like to reduce strain from reaching for the control key when using <c-i> and <c-o> (to jump backward or forward). I think the ',' and 'p' keys are ...
6
votes
2
answers
3k
views
How do I select multiple lines going upwards on Kakoune?
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 ...
4
votes
1
answer
163
views
I have a lot of selections hanging around. How do I reduce them to a single one?
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 ...
6
votes
1
answer
1k
views
What is the "*debug* buffer" in Kakoune?
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 ...
0
votes
2
answers
1k
views
How do I disable auto-indent on Kakoune?
I don't like text editors that perform auto-indentation in my code, because of various reasons, but Kakoune seems to be hardcoded to do that? Is it possible to disable it?
I couldn't find any defined ...
5
votes
1
answer
2k
views
How do I create a Kakoune colorscheme?
I'm trying the Kakoune editor and I can't find any colorscheme that I like available for it on the internet. Is it hard to create a Kakoune colorscheme? Maybe I could port one of the vim ones?
11
votes
5
answers
3k
views
How do I yank to system clipboard in Kakoune?
If I yank a word in kakoune, how do I paste it into another editor (e.g. gedit)?
I have read How to make vim paste from (and copy to) system's clipboard? since vim is very similar but kakoune does ...