diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-02-12 08:19:04 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-02-12 08:19:04 +0100 |
commit | 07f84bb581e369ff79100f0417e9d277f3c1fb61 (patch) | |
tree | 64ec899f185a3d794791df191f53939dbc67be41 /modules/home-manager/core/helix.nix | |
parent | 8fe481c0858702231335ad6c5eb850b293781b61 (diff) |
alot of stuff
Diffstat (limited to 'modules/home-manager/core/helix.nix')
-rw-r--r-- | modules/home-manager/core/helix.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/modules/home-manager/core/helix.nix b/modules/home-manager/core/helix.nix new file mode 100644 index 0000000..42861ce --- /dev/null +++ b/modules/home-manager/core/helix.nix @@ -0,0 +1,42 @@ +{ pkgs, inputs, ... }: +{ + home.sessionVariables = { EDITOR = "hx"; }; + home.file = { + helix-ferra = { + source = ../../../assets/helix-wavez.toml; + target = ".config/helix/themes/wavez.toml"; + }; + }; + + programs.helix = { + enable = true; + package = inputs.helix.packages."${pkgs.system}".helix; + defaultEditor = true; + settings = { + theme = "wavez"; + keys.normal = { + space.F = "file_picker_in_current_buffer_directory"; + }; + editor = { + end-of-line-diagnostics = "hint"; + line-number = "relative"; + bufferline = "always"; + auto-save = false; + + inline-diagnostics = { + cursor-line = "error"; + }; + + lsp = { + enable = true; + display-messages = true; + }; + + indent-guides = { + render = true; + skip-levels = 1; + }; + }; + }; + }; +} |