From e6c42a563eccf4b937ff2d7e6f81331065609168 Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sat, 18 May 2019 06:07:29 +0200 Subject: [PATCH] updated documentation --- README.md | 4 ++++ doc/plug.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6d785b..03509d7 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ Reload .vimrc and `:PlugInstall` to install plugins. | `PlugStatus` | Check the status of plugins | | `PlugDiff` | Examine changes from the previous update and the pending changes | | `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 @@ -178,6 +179,7 @@ Reload .vimrc and `:PlugInstall` to install plugins. | `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_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 @@ -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 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 There are some plugins that require extra steps after installation or update. diff --git a/doc/plug.txt b/doc/plug.txt index 48ef346..6966ad3 100644 --- a/doc/plug.txt +++ b/doc/plug.txt @@ -199,7 +199,7 @@ Reload .vimrc and `:PlugInstall` to install plugins. `PlugStatus` | Check the status of plugins `PlugDiff` | Examine changes from the previous update and the pending changes `PlugSnapshot[!] [output path]` | Generate script for restoring the current snapshot of the plugins - `PlugConfig` | Edit configuration of plugin + `PlugConfig name` | Edit configuration of plugin ------------------------------------+-------------------------------------------------------------------