dotfiles/nixos/vim.nix

46 lines
1,003 B
Nix
Raw Normal View History

2019-08-24 18:29:29 +01:00
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [(
neovim.override {
vimAlias = true;
configure = {
2019-08-24 18:53:12 +01:00
customRC = ''
if filereadable($HOME . "/.vimrc")
2019-08-25 07:43:32 +01:00
source $HOME/.vimrc
2019-08-24 18:53:12 +01:00
endif
'';
2019-08-24 18:29:29 +01:00
2019-08-24 18:53:12 +01:00
vam.knownPlugins = unstable.vimPlugins;
2019-08-24 18:29:29 +01:00
vam.pluginDictionaries = [
{ names = [
"ack-vim"
"ctrlp-vim"
"editorconfig-vim"
"fzf-vim"
"nerdtree"
"nerdtree-git-plugin"
"rust-vim"
"tabular"
"vim-airline"
"vim-airline-themes"
"vim-autoformat"
"vim-colors-solarized"
"vim-dirdiff"
"vim-dispatch"
"vim-fugitive"
"vim-gitgutter"
"vim-markdown"
"vim-nix"
"vim-sensible"
"vim-startify"
"vim-surround"
"vim-toml"
];
}
];
};})
];
}