diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-09-20 08:20:11 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-09-20 08:20:11 +0100 |
commit | 1552f2ef68c1ad86525aa26e676ccf6e77fea017 (patch) | |
tree | d6c276aaa9d64ce139ea346d61a52d5bc587f462 /doc/languages-frameworks/vim.section.md | |
parent | c1d8b1e26610819a3ab4b98190b52c7c8ff9ced6 (diff) |
doc/vim: remove some vim-plug redundancy
Diffstat (limited to 'doc/languages-frameworks/vim.section.md')
-rw-r--r-- | doc/languages-frameworks/vim.section.md | 24 |
1 files 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 |