From e71dce74ff1092eb118edd908ec51f264e733776 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 9 Oct 2025 15:16:05 +0200 Subject: [PATCH] update: set default editor --- hm/helix.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hm/helix.nix b/hm/helix.nix index e2fe461..190cdce 100644 --- a/hm/helix.nix +++ b/hm/helix.nix @@ -1,13 +1,7 @@ { pkgs, ... }: { home = { - sessionVariables = { - EDITOR = "hx"; - VISUAL = "hx"; - }; - shellAliases = { - x = "hx"; - }; + shellAliases.x = "hx"; packages = builtins.attrValues { inherit (pkgs) nil; # Nix language server # inherit desktopItem; @@ -15,6 +9,7 @@ }; programs.helix = { enable = true; + defaultEditor = true; languages.language = [ { name = "nix";