Commit 5272112

HPCesia <me@hpcesia.com>
2026-09-24 17:34:55
helix: update config
1 parent 834a83c
Changed files (2)
modules
dev
editor
modules/dev/editor/helix/default.nix
@@ -42,9 +42,23 @@
             cursorline = true;
             bufferline = "multiple";
             statusline = {
-              left = ["mode" "spinner" "diagnostics" "workspace-diagnostics"];
-              center = ["file-name" "read-only-indicator" "file-modification-indicator"];
-              right = ["file-type" "file-encoding" "separator" "position" "total-line-numbers"];
+              left = [
+                "mode"
+                "spinner"
+                "file-name"
+                "read-only-indicator"
+                "file-modification-indicator"
+              ];
+              center = [];
+              right = [
+                "diagnostics"
+                "workspace-diagnostics"
+                "file-type"
+                "file-encoding"
+                "separator"
+                "position"
+                "total-line-numbers"
+              ];
             };
             line-number = "relative";
             indent-guides = {
@@ -97,8 +111,8 @@
 
         allPlugins = helixPluginsNixUtils.flattenPlugins [
           pkgs.helixPlugins.forest
+          pkgs.helixPlugins.previously
           pkgs.helixPlugins.wakatime
-          pkgs.helixPlugins.who
         ];
 
         nativePlugins = helixPluginsNixUtils.getNativePlugins allPlugins;
modules/dev/editor/helix/init.scm
@@ -16,5 +16,20 @@
     (space
       (e ":forest-open"))))
 
+(require "previously.hx/previously.scm")
+(previously-configure!
+  (hash 'watch (list #\" #\a #\b)
+        'cap 50
+        'commands? #true
+        'searches? #true))
+
+(keymap (global)
+  (normal
+    (space
+      (A-p ":previously")))
+  (select
+    (space
+      (A-p ":previously"))))
+
+
 (require "wakatime/wakatime.scm")
-(require "who/who.scm")