mirror of
https://git.sr.ht/~coasteen/dotfiles
synced 2025-11-04 14:47:38 +01:00
29 lines
903 B
Text
29 lines
903 B
Text
[ Vim Graft ]
|
|
|
|
Simple plugin management for Vim, written in Ruby. Graft lets you configure which plugins to install using Ruby.
|
|
|
|
( Installation )
|
|
|
|
1. Clone (or download and extract) this repository wherever you prefer.
|
|
|
|
2. Edit config.rb - an example is provided. Set runtime to your desired Vim/Neovim directory (e.g., ~/.vim or ~/.local/share/nvim).
|
|
|
|
3. Add plugins to the plugins array. You can use GitHub shortcuts (user/repo) or full URLs.
|
|
|
|
4. Run the manager:
|
|
|
|
rake
|
|
|
|
5. Open Vim or Neovim and check that plugins are loaded:
|
|
|
|
:echo &runtimepath
|
|
|
|
Everything listed in config.rb will be installed automatically.
|
|
|
|
( Usage )
|
|
|
|
- To add a plugin: append it to the plugins array and rerun ./graft.rb.
|
|
|
|
- To remove a plugin: delete its entry from the array and remove its folder under pack/graft/start.
|
|
|
|
- If Installed into a run time path, you can use `:EditPlugins` and `:SyncPlugins` commands from Vim.
|