fix(editor): replace neovim with helix

This commit is contained in:
genofire 2023-01-13 22:05:55 +01:00
parent 36e47947bd
commit abcabee811
2 changed files with 17 additions and 4 deletions

View File

@ -108,7 +108,7 @@
programs.gitui.enable = true;
programs.neovim = {
enable = true;
enable = false;
extraConfig = ''
syntax on
set number relativenumber
@ -123,4 +123,15 @@
}
];
};
programs.helix = {
enable = true;
languages = [];
settings = {
theme = "base16_default";
editor = {
lsp.display-messages = true;
};
};
};
}

View File

@ -44,6 +44,7 @@
git
git-lfs
tig
helix
tcpdump
iperf3
bmon
@ -63,14 +64,15 @@
ip = "ip --color";
watch = "watch -c";
grep = "grep --color=always --exclude-dir=.git";
vim = "nvim";
vim = "hx";
};
environment.variables.EDITOR = "hx";
programs.mosh.enable = true; # open firewall
programs.neovim = {
enable = true;
defaultEditor = true;
enable = false;
defaultEditor = false;
configure.customRC = ''
syntax on
set number relativenumber