1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Use new option to set helix to default editor

This commit is contained in:
RGBCube 2023-10-20 16:38:22 +03:00
parent fb676ff36b
commit 4ba20053a6
No known key found for this signature in database

View file

@ -5,11 +5,9 @@
]) ])
(homeConfiguration "nixos" { (homeConfiguration "nixos" {
programs.nushell.environmentVariables = {
EDITOR = "hx";
};
programs.helix = enabled { programs.helix = enabled {
defaultEditor = true;
settings.theme = "catppuccin_mocha"; settings.theme = "catppuccin_mocha";
settings.editor = { settings.editor = {
@ -23,13 +21,13 @@
}; };
settings.editor.auto-pairs = { settings.editor.auto-pairs = {
"(" = ")"; "(" = ")";
"{" = "}"; "{" = "}";
"[" = "]"; "[" = "]";
"\"" = "\""; "\"" = "\"";
"'" = "'"; "'" = "'";
"<" = ">"; "<" = ">";
"`" = "`"; "`" = "`";
}; };
settings.editor.statusline.mode = { settings.editor.statusline.mode = {