From ad6a1ab75061b0d273d166f4a54ea7ba9dcbfb5d Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:15:57 -0800 Subject: [PATCH] helix conf and aliases --- users/tao/config.nu | 1 + users/tao/helix.nix | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/users/tao/config.nu b/users/tao/config.nu index 5ba7e24..b7f52ee 100644 --- a/users/tao/config.nu +++ b/users/tao/config.nu @@ -4,6 +4,7 @@ alias fetch = macchina alias cringe = sudo bootctl set-oneshot auto-windows alias rebs = sudo nixos-rebuild switch --flake ~/Projects/NOflake/ alias rebb = sudo nixos-rebuild boot --flake ~/Projects/NOflake/ +alias ff = firefox # Nushell Config File # diff --git a/users/tao/helix.nix b/users/tao/helix.nix index bd5fe61..9890bbf 100644 --- a/users/tao/helix.nix +++ b/users/tao/helix.nix @@ -26,6 +26,14 @@ }; soft-wrap.enable = true; }; + keys.normal = { + k = "move_line_down"; + j = "move_line_up"; + }; + keys.select = { + k = "move_line_down"; + j = "move_line_up"; + }; }; languages = { language = [ @@ -38,13 +46,12 @@ }; indent = { tab-width = 8; unit = "\t"; }; } + # { name = "css"; comment = "/*"; } { name = "html"; auto-format = false; indent = { tab-width = 4; unit = "\t"; }; } { name = "java"; auto-format = true; indent = { tab-width = 4; unit = "\t"; }; } { name = "nix"; auto-format = true; formatter = { command = "nixpkgs-fmt"; }; } { name = "typst"; indent = { tab-width = 4; unit = " "; }; } - { - name = "rust"; - } + # { name = "rust"; } ]; language-servers = { rust-analyzer.config = {