updated documentation

This commit is contained in:
Matthias Bilger 2019-05-18 06:07:29 +02:00
parent 0b7fb006c3
commit e6c42a563e
2 changed files with 5 additions and 1 deletions

View File

@ -153,6 +153,7 @@ Reload .vimrc and `:PlugInstall` to install plugins.
| `PlugStatus` | Check the status of plugins | | `PlugStatus` | Check the status of plugins |
| `PlugDiff` | Examine changes from the previous update and the pending changes | | `PlugDiff` | Examine changes from the previous update and the pending changes |
| `PlugSnapshot[!] [output path]` | Generate script for restoring the current snapshot of the plugins | | `PlugSnapshot[!] [output path]` | Generate script for restoring the current snapshot of the plugins |
| `PlugConfig name` | Open or create a config file for a plugin |
### `Plug` options ### `Plug` options
@ -178,6 +179,7 @@ Reload .vimrc and `:PlugInstall` to install plugins.
| `g:plug_window` | `vertical topleft new` | Command to open plug window | | `g:plug_window` | `vertical topleft new` | Command to open plug window |
| `g:plug_pwindow` | `above 12new` | Command to open preview window in `PlugDiff` | | `g:plug_pwindow` | `above 12new` | Command to open preview window in `PlugDiff` |
| `g:plug_url_format` | `https://git::@github.com/%s.git` | `printf` format to build repo URL (Only applies to the subsequent `Plug` commands) | | `g:plug_url_format` | `https://git::@github.com/%s.git` | `printf` format to build repo URL (Only applies to the subsequent `Plug` commands) |
| `g:plug_config_dirs`| `{rtp}/configs` | Dirs to look for configs, first dir is used for creating new config files |
### Keybindings ### Keybindings
@ -227,6 +229,8 @@ autocmd! User goyo.vim echom 'Goyo is now loaded!'
usually don't have too much code in `plugin` directory. You might want to usually don't have too much code in `plugin` directory. You might want to
examine the output of `vim --startuptime` before applying the option. examine the output of `vim --startuptime` before applying the option.
Configurations for plugins are loaded with the plugin so you can use all the commands the plugin provides in your config.
### Post-update hooks ### Post-update hooks
There are some plugins that require extra steps after installation or update. There are some plugins that require extra steps after installation or update.

View File

@ -199,7 +199,7 @@ Reload .vimrc and `:PlugInstall` to install plugins.
`PlugStatus` | Check the status of plugins `PlugStatus` | Check the status of plugins
`PlugDiff` | Examine changes from the previous update and the pending changes `PlugDiff` | Examine changes from the previous update and the pending changes
`PlugSnapshot[!][outputpath]` | Generate script for restoring the current snapshot of the plugins `PlugSnapshot[!][outputpath]` | Generate script for restoring the current snapshot of the plugins
`PlugConfig` | Edit configuration of plugin `PlugConfig name` | Edit configuration of plugin
------------------------------------+------------------------------------------------------------------- ------------------------------------+-------------------------------------------------------------------