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