home: add vim

This actually uses neovim... I'm done with trying to be compatible with
both I haven't actually migrated my configuration to it yet, this is not
even the bare minimum.

We'll get there :-)
This commit is contained in:
Bruno BELANYI 2021-02-22 13:44:22 +00:00
parent f589b8d5d3
commit 5d508771ce
2 changed files with 15 additions and 0 deletions

View file

@ -13,6 +13,7 @@
./secrets # Home-manager specific secrets
./ssh.nix
./tmux.nix
./vim
./xdg.nix
./zsh
];

14
home/vim/default.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
programs.neovim = {
enable = true;
# All the aliases
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
plugins = with pkgs.vimPlugins; [
vim-nix
];
};
}