diff --git a/modules/shell/helix.nix b/modules/shell/helix.nix index 53ea07e..1f8a2f2 100644 --- a/modules/shell/helix.nix +++ b/modules/shell/helix.nix @@ -31,18 +31,12 @@ bufferline = "multiple"; color-modes = true; cursorline = true; - auto-save = { - focus-lost = true; - after-delay.enable = true; - after-delay.timeout = 10000; - }; + auto-save = true; auto-format = true; end-of-line-diagnostics = "hint"; - # slightly optimized based on my layout - jump-label-alphabet = "jfkdaslghwenuiopbcmyzqrtvx"; - clipboard-provider = "wayland"; inline-diagnostics = { cursor-line = "hint"; + other-lines = "error"; }; lsp = { display-messages = true; @@ -71,14 +65,9 @@ "file-type" ]; idle-timeout = 50; - completion-timeout = 100; indent-guides = { render = true; character = "│"; - skip-levels = 2; - }; - soft-wrap = { - enable = true; }; whitespace = { render = { @@ -96,10 +85,6 @@ keys = { normal = { space."=" = ":fmt"; - - # smart tab++ - tab = "move_parent_node_end"; - S-tab = "move_parent_node_start"; }; insert = { up = "no_op"; @@ -110,14 +95,6 @@ pagedown = "no_op"; home = "no_op"; end = "no_op"; - - # smart tab ++ - S-tab = "move_parent_node_start"; - }; - select = { - # smart tab++ - tab = "extend_parent_node_end"; - S-tab = "extend_parent_node_start"; }; }; }; diff --git a/modules/shell/nu/env.nu b/modules/shell/nu/env.nu index 91332be..5df3a55 100644 --- a/modules/shell/nu/env.nu +++ b/modules/shell/nu/env.nu @@ -5,8 +5,6 @@ source /home/jade/.config/nushell/shell-startup.nu; $env.STARSHIP_SHELL = "nu"; $env.CMD_COUNT = 0; -$env.EDITOR = "hx"; -$env.S10E_JRNL_FILE_LOC = "~/Docs/jrnl.md"; def create_right_prompt [] { # create a right prompt in magenta with green separators and am/pm underlined