A simple project switcher for Kakoune

12 points by bhoot


jmtd

Lovely. I like a well-scoped, tidy solution. Two things that jumped out at me: duplicate projects; de-registering projects. For the latter I’d probably say it’s infrequent enough to just do by hand.

ficd

Very nice! I have a couple suggestions. First, instead of hardcoding ~/.config/kak, I recommend using $kak_config which guarantees you'll use the same directory that Kakoune itself resolved. Second, I'd recommend creating an option like declare-option str projects_dir %val{config}, so the user can optionally change where this information is stored (personally I don't like to have stuff like this in my config dir).

bhoot

I forgot to add a small video snippet to showcase the final result. Will do that (and also revise the post - I basically published the first draft to get it out) after I'm back home.