stockholm/makefu/2configs/editor/vim.nix
2023-01-09 00:34:09 +01:00

22 lines
501 B
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = [
((pkgs.vim_configurable).customize {
name = "vim";
vimrcConfig.customRC = builtins.readFile ./vimrc;
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; { start = [
"undotree"
"YouCompleteMe"
#"UltiSnips"
# vim-nix handles indentation better but does not perform sanity
"vim-nix"
# "vim-addon-nix"
"vim-better-whitespace"
];
};
})
];
}