From 43bc484b4e3dc47512872e62779d7fe98fac93a1 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 23 Sep 2018 20:14:29 +0200 Subject: Initial import of my custom Nix derivations --- pkgs/custom-vim/custom.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/custom-vim/custom.nix (limited to 'pkgs/custom-vim/custom.nix') diff --git a/pkgs/custom-vim/custom.nix b/pkgs/custom-vim/custom.nix new file mode 100644 index 0000000..4719b72 --- /dev/null +++ b/pkgs/custom-vim/custom.nix @@ -0,0 +1,42 @@ +{ pkgs }: + +let + vimrc = builtins.readFile ./asset/rc.vim; + plugins = pkgs.callPackage ./plugins.nix {}; +in +{ + vam = { + knownPlugins = pkgs.vimPlugins // plugins; + pluginDictionaries = [ + { names = [ + # UI enhancements + "vim-airline" + "goyo" + "vim-toggle-ui-elements" + # load project specific config + "vim-localvimrc" + # colors, syntax highlighting + "vim-color-akr" + "vim-polyglot" + "vim-addon-nix" + # file, buffer management + "ctrlp" + "vim-counterpoint" + "vim-signature" + # undo history tree + "vim-mundo" + # editing enhancements + "vim-wordmotion" + "vim-autoformat" + "surround" + "vim-unimpaired" + "vim-far" + # git integration + "fugitive" + "vim-gitgutter" + "vim-gina" + ];} + ]; + }; + customRC = vimrc; +} -- cgit v1.2.3