Common: replace neovim with helix

This commit is contained in:
Toast 2024-02-07 12:18:19 +01:00
parent efc0440d61
commit 0adf440318
3 changed files with 23 additions and 17 deletions

View file

@ -13,7 +13,7 @@
./starship.nix
./bat.nix
./btop.nix
./neovim.nix
./helix.nix
];
# Some programs dont have a programs.*.enable option, so I install their package here
environment.systemPackages = with pkgs; [

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
home-manager.users.toast = {
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
theme = "catppuccin_mocha";
editor = {
mouse = true;
cursorline = true;
statusline.mode = {
normal = "Normal";
insert = "Insert";
select = "Select";
};
};
};
};
};
}

View file

@ -1,16 +0,0 @@
{ pkgs, ... }:
{
home-manager.users.toast = {
programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [
catppuccin-nvim
];
defaultEditor = true;
extraConfig = ''
filetype indent on
'';
};
};
}