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