Having used Kakoune for about two weeks time now, I really like the visual approach. Coming from Vim though, I’ve a couple of annoyances maybe someone could clarify or give a solution to.
How do you quickly jump around in a line? I’m used to hitting
fto find a char and replace it by a another one using
r. Kakoune selects a region when using
t, so it forces me to use
;after every jump to narrow my selection before doing a change or replace command. Is there a quicker way?
Along the same lines: when changing/deleting to a certain char, I hit
fto find the spot. However, it could be the first jump is not far enough. I can repeat the command using
<a-.>, but then Kakoune selects a new region instead of extending the existing one. Is there a better way?
<a-h>does not do the same thing as
^in Vim. I’d like a way to select to the first non blank character on a line and operate on it.
What is the equivalent of Vim’s
2ccin Kakoune? If I hit
2Xc(which, alas, is not as quick to hit as
2cc), Kakoune deletes 2 lines including the line end and starts insert mode at column 0 with the contents of the next line after the cursor. I find this particularly annoying for a couple of reasons:
- Kakoune does not take into account the indentation of the surrounding lines.
- The line I’m editing is polluted with the contents of the next line which moves along when I type.
- I have to hit return after my changes to re-enter the end of line which was deleted.
- There is the fact that
2Xdmight delete three lines when my cursor happend to be on an empty line, which I find really inconsistent…