diff --git a/user/kakoune.nix b/user/kakoune.nix index b5b3e45..e415a0b 100644 --- a/user/kakoune.nix +++ b/user/kakoune.nix @@ -131,6 +131,11 @@ in { kak-pager kak-man-pager ]; + home.activation = { + update_kakoune = lib.hm.dag.entryAfter [ "writeBoundary" ] '' + $DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c + ''; + }; home.sessionVariables = { EDITOR = "kak"; # Some plugins(kak_ansi) like to compile stuff