From 18f60085dadd2ff3d76781917a30fd12fa279719 Mon Sep 17 00:00:00 2001 From: xenia Date: Thu, 19 Oct 2023 11:06:06 +0200 Subject: [PATCH] Configure kakoune as the default editor properly --- home.nix | 2 -- kak.nix | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/home.nix b/home.nix index a505e189..4e8305cf 100644 --- a/home.nix +++ b/home.nix @@ -92,8 +92,6 @@ in rec { echo -en "%{\033[0m\033[38:5:''${BG}m%}" echo -en "%{\033[0m%} "; )' - '' + '' - export EDITOR=${programs.kakoune.package} '' + builtins.readFile ./dotfiles/zshrc; }; diff --git a/kak.nix b/kak.nix index 1b40e3a0..5a51f798 100644 --- a/kak.nix +++ b/kak.nix @@ -68,6 +68,7 @@ in { enable = true; package = kak; + defaultEditor = true; plugins = with kakounePlugins; [ kakoune-buffers kakoune-extra-filetypes