helix conf and aliases

This commit is contained in:
Tao Tien 2024-02-21 18:15:57 -08:00
parent aa0f95bfa3
commit ad6a1ab750
2 changed files with 11 additions and 3 deletions

View file

@ -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
#

View file

@ -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 = {