From 1552f2ef68c1ad86525aa26e676ccf6e77fea017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 20 Sep 2018 08:20:11 +0100 Subject: [PATCH] doc/vim: remove some vim-plug redundancy --- doc/languages-frameworks/vim.section.md | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index 9c7d21a5a02e..1b235dbb52f6 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -15,6 +15,7 @@ At the moment we support three different methods for managing plugins: - Vim packages (*recommend*) - VAM (=vim-addon-manager) - Pathogen +- vim-plug ## Custom configuration @@ -98,7 +99,8 @@ After that you can install your special grafted `myVim` or `myNeovim` packages. ## Managing plugins with vim-plug -To use vim-plug to manage your Vim plugins the following example can be used: +To use [vim-plug](https://github.com/junegunn/vim-plug) to manage your Vim +plugins the following example can be used: ``` vim_configurable.customize { @@ -124,26 +126,6 @@ neovim.override { } ``` -The resulting package can be added to `packageOverrides` in `~/.nixpkgs/config.nix` to make it installable: - -``` -{ - packageOverrides = pkgs: with pkgs; { - myVim = vim_configurable.customize { - name = "vim-with-plugins"; - # add here code from the example section - }; - myNeovim = neovim.override { - configure = { - # add here code from the example section - }; - }; - }; -} -``` - -After that you can install your special grafted `myVim` or `myNeovim` packages. - ## Managing plugins with VAM ### Handling dependencies of Vim plugins