about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-29 21:16:01 +0900
committersefidel <contact@sefidel.net>2023-07-29 21:18:07 +0900
commit8d5fdb86de33ed17481c85d2e96ca4943e58a8f1 (patch)
tree001dd2f179db6d18f04070462ea51fe6276ce408
parent8d0e5e4980db11c1bea45a8336d066ce7cb89b24 (diff)
downloadnixrc-8d5fdb86de33ed17481c85d2e96ca4943e58a8f1.tar.gz
nixrc-8d5fdb86de33ed17481c85d2e96ca4943e58a8f1.zip
feat(home/base): configure helix
-rw-r--r--home/profiles/base/default.nix26
1 files changed, 25 insertions, 1 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index dd32330..368bbe9 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -74,7 +74,31 @@ in
       helix = {
         enable = true;
         settings = {
-          theme = "base16_default_dark";
+          theme = "rasmus";
+
+          editor = {
+            statusline = {
+              left = [ "mode" "spinner" "file-name" "position" "separator" "spacer" "diagnostics" "file-modification-indicator" ];
+              center = [ "version-control" ];
+              right = [ "selections" "file-encoding" "file-line-ending" "file-type" ];
+              mode.normal = "NORMAL";
+              mode.insert = "INSERT";
+              mode.select = "SELECT";
+            };
+
+            cursor-shape = {
+              insert = "bar";
+              normal = "block";
+              select = "underline";
+            };
+
+            lsp = {
+              display-inlay-hints = true;
+            };
+
+            color-modes = true;
+            bufferline = "multiple";
+          };
         };
       };