summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/editor/vim.nix
blob: 305f26a04d3f7225dd832b922077e20440f68711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, pkgs, ... }:

{

  environment.systemPackages = [
    ((pkgs.vim_configurable).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-nix"
          "vim-addon-nix"
          "vim-better-whitespace"
      ];
      };
    })
  ];
}