summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-08-07 19:54:42 +0200
committerAdrian Kummerlaender2018-08-07 19:54:42 +0200
commit7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432 (patch)
tree58528d7f0455e97359eaac16ee17ffa61e193a51
parent4e415a7c3d43529880a8839e8ab19ebfb9c05925 (diff)
downloadnixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.tar
nixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.tar.gz
nixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.tar.bz2
nixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.tar.lz
nixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.tar.xz
nixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.tar.zst
nixos_system-7de3c3bee50247cd3a1102a5eab0d8ebb9ca0432.zip
Replace vim's git UI plugin
-rw-r--r--pkgs/vim/custom.nix35
-rw-r--r--pkgs/vim/plugins.nix9
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;