{config,pkgs,...}:
let
myVim = pkgs.vim_configurable.customize {
name = "vim";
vimrcConfig = {
customRC = ''
syntax on
set nu
set foldmethod=syntax
set listchars=tab:->
set list
set backspace=indent,eol,start
map <F7> :tabp<enter>
map <F8> :tabn<enter>
set expandtab
set softtabstop=4
'';
vam.pluginDictionaries = [ { names = [ "vim-nix" ]; } ];
};
};
in
{
environment.systemPackages = [ myVim ];
}