cleverca22
12/13/2016 - 11:06 AM

vim.nix

{config,pkgs,...}:

{
  environment.etc.vimrc = {
    text = ''
      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>
    '';
  };
  environment.systemPackages = [ pkgs.vim ];
}