diff options
author | Adrian Kummerlaender | 2019-03-03 20:28:46 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-03-03 20:28:50 +0100 |
commit | a9ceae32286b080797e92fe4725ea1280fbc85d9 (patch) | |
tree | b0a00c6f5b9b89af115ccf4fcf3983cd217b3563 /pkgs/custom-vim/custom.nix | |
parent | 74ed6df47cc880f0c77cb32ebe0b80211287b331 (diff) | |
download | pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.tar pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.tar.gz pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.tar.bz2 pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.tar.lz pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.tar.xz pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.tar.zst pkgs-a9ceae32286b080797e92fe4725ea1280fbc85d9.zip |
Restructure vim configuration
* Use integrated plugin manager
* Switch to nvim instead of continuing to maintain a config for both vims
Diffstat (limited to 'pkgs/custom-vim/custom.nix')
-rw-r--r-- | pkgs/custom-vim/custom.nix | 42 |
1 files changed, 0 insertions, 42 deletions
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; -} |