You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
630 B
Nix
20 lines
630 B
Nix
9 years ago
|
with import <nixpkgs> {};
|
||
|
|
||
|
vim_configurable.customize {
|
||
|
# Specifies the vim binary name.
|
||
|
# E.g. set this to "my-vim" and you need to type "my-vim" to open this vim
|
||
|
# This allows to have multiple vim packages installed (e.g. with a different set of plugins)
|
||
|
name = "vim";
|
||
|
vimrcConfig.customRC = builtins.readFile ./vimrc;
|
||
|
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins;
|
||
|
vimrcConfig.vam.pluginDictionaries = [
|
||
|
{ names = [
|
||
|
# Here you can place all your vim plugins
|
||
|
# They are installed managed by `vam` (a vim plugin manager)
|
||
|
#"vim-addon-nix"
|
||
|
"vim-nix"
|
||
|
"wombat256-vim"
|
||
|
]; }
|
||
|
];
|
||
|
}
|