Vim: Difference between revisions
imported>Trusktr Add basic install, which is useful for beginners. |
imported>Equirosa No edit summary |
||
| Line 130: | Line 130: | ||
=== Adding new plugins === | === Adding new plugins === | ||
As per the instructions found in https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/vim.section.md | |||
* Add your plugin to ./vim-plugin-names | * First run <code>./update.py</code>. | ||
* | * Commit the changes with the commit message "vimPlugins: Update". | ||
* Add your plugin to ./vim-plugin-names (please try to maintain the list alphabetically sorted). | |||
* Run <code>./update.py</code> once again to generate the plugin's nix expression. | |||
* Commit your changes one more time, this time with the message formated as such: "vimPlugins.[plugin-name]: init at [version]". | |||
* If you need to add additional code/patches to the generated code, add those lines to <code>pkgs/misc/vim-plugins/vim2nix/additional-nix-code</code> and rerun <code>./update.py</code>. They will be included in the generated code. | * If you need to add additional code/patches to the generated code, add those lines to <code>pkgs/misc/vim-plugins/vim2nix/additional-nix-code</code> and rerun <code>./update.py</code>. They will be included in the generated code. | ||
==== Notes Regarding Plugins ==== | |||
For additional info, you may wish to check https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/vim-plugins . | |||
=== Add a new custom plugin to the users packages === | === Add a new custom plugin to the users packages === | ||