From 7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 7 Aug 2018 19:54:42 +0200 Subject: Replace vim's git UI plugin --- pkgs/vim/custom.nix | 35 +++++++++++++++++++++-------------- pkgs/vim/plugins.nix | 9 +++++++++ 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/pkgs/vim/custom.nix b/pkgs/vim/custom.nix index 7a7d9ed..f0150d2 100644 --- a/pkgs/vim/custom.nix +++ b/pkgs/vim/custom.nix @@ -9,25 +9,32 @@ in knownPlugins = pkgs.vimPlugins // plugins; pluginDictionaries = [ { names = [ - "ctrlp" - "goyo" - "vim-far" - "fugitive" - "surround" - "vim-unimpaired" - "vim-mundo" + # UI enhancements "vim-airline" - "vim-gitgutter" - "vim-git-commit-viewer" - "vim-signature" + "goyo" + "vim-toggle-ui-elements" + # load project specific config "vim-localvimrc" - "vim-addon-nix" - "vim-autoformat" + # colors, syntax highlighting + "vim-color-akr" "vim-polyglot" + "vim-addon-nix" + # file, buffer management + "ctrlp" "vim-counterpoint" - "vim-toggle-ui-elements" + "vim-signature" + # undo history tree + "vim-mundo" + # editing enhancements "vim-wordmotion" - "vim-color-akr" + "vim-autoformat" + "surround" + "vim-unimpaired" + "vim-far" + # git integration + "fugitive" + "vim-gitgutter" + "vim-gina" ];} ]; }; diff --git a/pkgs/vim/plugins.nix b/pkgs/vim/plugins.nix index 5530560..b2f94d1 100644 --- a/pkgs/vim/plugins.nix +++ b/pkgs/vim/plugins.nix @@ -67,6 +67,15 @@ in { }; }; + "vim-gina" = buildVimPlugin { + name = "vim-gina"; + src = fetchgit { + url = "https://github.com/lambdalisue/gina.vim.git"; + rev = "v0.3.2"; + sha256 = "06m9cb04qsk49jri3cyw1gr3q71r048pzym10zlqgzsl1jsnvalv"; + }; + }; + "vim-color-akr" = buildVimPlugin { name = "vim-color-akr"; src = ./conf/vim-color-akr; -- cgit v1.2.3