summaryrefslogtreecommitdiff
path: root/configuration/home-manager/core/helix.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2025-02-06 22:03:10 +0000
committerJasper Ras <jaspert.ras@gmail.com>2025-02-06 22:19:49 +0000
commitf71051f47158f57091306e269352d7579522e426 (patch)
tree3b112ddd10797c8669e9b68d483b205d49c3035b /configuration/home-manager/core/helix.nix
parent463f0d40c6ee02e5512269d2e370506a8ca8f965 (diff)
bluurb
Diffstat (limited to 'configuration/home-manager/core/helix.nix')
-rw-r--r--configuration/home-manager/core/helix.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/configuration/home-manager/core/helix.nix b/configuration/home-manager/core/helix.nix
new file mode 100644
index 0000000..42861ce
--- /dev/null
+++ b/configuration/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;
+ };
+ };
+ };
+ };
+}