Configure kakoune as the default editor properly

This commit is contained in:
xenia 2023-10-19 11:06:06 +02:00
parent 705e54c812
commit 18f60085da
2 changed files with 1 additions and 2 deletions

View File

@ -92,8 +92,6 @@ in rec {
echo -en "%{\033[0m\033[38:5:''${BG}m%}" echo -en "%{\033[0m\033[38:5:''${BG}m%}"
echo -en "%{\033[0m%} "; echo -en "%{\033[0m%} ";
)' )'
'' + ''
export EDITOR=${programs.kakoune.package}
'' ''
+ builtins.readFile ./dotfiles/zshrc; + builtins.readFile ./dotfiles/zshrc;
}; };

View File

@ -68,6 +68,7 @@ in
{ {
enable = true; enable = true;
package = kak; package = kak;
defaultEditor = true;
plugins = with kakounePlugins; [ plugins = with kakounePlugins; [
kakoune-buffers kakoune-buffers
kakoune-extra-filetypes kakoune-extra-filetypes