From 0b253c633b19ffc623531b19ad39dc7992228eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Maxmili=C3=A1n=20St=C5=99=C3=ADbrn=C3=BD?= Date: Sun, 15 Mar 2026 10:03:43 +0100 Subject: [PATCH] non important commit --- home/modules/default.nix | 2 +- home/modules/{nvf.nix => helix.nix} | 1 + home/modules/shell/config.nu | 2 +- home/modules/shell/shell.nix | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) rename home/modules/{nvf.nix => helix.nix} (99%) diff --git a/home/modules/default.nix b/home/modules/default.nix index e519352..4fa5372 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -9,7 +9,7 @@ imports = [ ./daily_apps.nix ./niri.nix - ./nvf.nix + ./helix.nix ./shell ./create-project/create-project.nix ./games diff --git a/home/modules/nvf.nix b/home/modules/helix.nix similarity index 99% rename from home/modules/nvf.nix rename to home/modules/helix.nix index 1652760..e602272 100644 --- a/home/modules/nvf.nix +++ b/home/modules/helix.nix @@ -1,6 +1,7 @@ {pkgs, ...}: { programs.helix = { enable = true; + defaultEditor = true; settings = { theme = "catppuccin_mocha"; diff --git a/home/modules/shell/config.nu b/home/modules/shell/config.nu index 6f25244..a650974 100644 --- a/home/modules/shell/config.nu +++ b/home/modules/shell/config.nu @@ -25,7 +25,7 @@ def --env fzf-cd [] { def --env fzf-nvim [] { let file = (fd -t f -L . | fzf --reverse --height 40% --border rounded --preview=("bat -p -P --color always {}") --preview-window=border-left) if $file != null and $file != "" { - nvim $file + ^$env.EDITOR $file } } diff --git a/home/modules/shell/shell.nix b/home/modules/shell/shell.nix index dc9367c..27c3e90 100644 --- a/home/modules/shell/shell.nix +++ b/home/modules/shell/shell.nix @@ -15,7 +15,6 @@ ]; home.sessionVariables = { - EDITOR = "nvim"; PAGER = "bat -l man"; MANPAGER = "bat -l man"; };