From f00ff6de9374eed7704586460c015743b713c146 Mon Sep 17 00:00:00 2001 From: Sumin Byeon Date: Fri, 26 May 2017 00:38:46 +0900 Subject: [PATCH 1/2] Update README Explain how to reload .vimrc without restarting vim --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index edf7b7e..8906222 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,14 @@ by running `vim --version` and check that `+python` or `+python3` is listed amon #### Vundle -Put this in your .vimrc +Put this in your `.vimrc`. ```vim Plugin 'Chiel92/vim-autoformat' ``` -Then restart vim and run `:PluginInstall`. +Then restart vim and run `:PluginInstall`. Alternatively, you could run `:source .vimrc` +to reload your `.vimrc` without restarting vim. To update the plugin to the latest version, you can run `:PluginUpdate`. #### Pathogen From 92cf430ead7476aac285eb579e2d50c0a802344b Mon Sep 17 00:00:00 2001 From: Sumin Byeon Date: Fri, 26 May 2017 11:16:12 +0900 Subject: [PATCH 2/2] Use $MYVIMRC instead of a hard-coded value --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8906222..a79c7e9 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Put this in your `.vimrc`. Plugin 'Chiel92/vim-autoformat' ``` -Then restart vim and run `:PluginInstall`. Alternatively, you could run `:source .vimrc` +Then restart vim and run `:PluginInstall`. Alternatively, you could run `:source $MYVIMRC` to reload your `.vimrc` without restarting vim. To update the plugin to the latest version, you can run `:PluginUpdate`.