I’m trying to use
kak as my default editor. Since it’s too slow to start-up otherwise, I’m running
kak -s ses -d, and set
EDITOR="kak -c ses". Startup time is ok like this, but, counter-intuitively (to me), leaving a client with
:wq doesn’t appear to close the file.
I was a bit confused at first when I came back to the same selection in a file I was editing, but could see that part being useful usually. But for
git commit I feel I need a different solution; how do people do this?
$ git commit ... write a commit message in kak, :wq, "hello world" $ git checkout some-other-branch $ git show very important commit $ git commit --amend ... opens up a buffer with "hello world" and asks me whether to load the changed file from disk
I can answer that with “yes, always reload”, but that incurs a painful delay. (Also, where is this information stored? Is this “always reload (this file/all files) (in this session/always)”?