summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/editor/vim.nix
blob: f53be58ff8307d2ed3792835f564d6a2ccc7f104 (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"
      ];
      };
    })
  ];
}