summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/editor/vim.nix
blob: b37f2409a08f61c4010dcc382de1c99b067aabfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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-addon-nix"
          "vim-better-whitespace"
      ];
      };
    })
  ];
}