stockholm/makefu/2configs/editor/vim.nix
2022-06-06 21:21:00 +02:00

21 lines
517 B
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = [
((pkgs.vim_configurable.override { python = pkgs.python3; }).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-addon-nix"
"vim-better-whitespace"
];
};
})
];
}