From a9ceae32286b080797e92fe4725ea1280fbc85d9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 3 Mar 2019 20:28:46 +0100 Subject: Restructure vim configuration * Use integrated plugin manager * Switch to nvim instead of continuing to maintain a config for both vims --- pkgs/custom-vim/custom.nix | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete 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 deleted file mode 100644 index 4c0c72c..0000000 --- a/pkgs/custom-vim/custom.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ 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" - "vim-sandwich" - "vim-unimpaired" - "vim-far" - # git integration - "fugitive" - "vim-gitgutter" - "vim-gina" - ];} - ]; - }; - customRC = vimrc; -} -- cgit v1.2.3