From 4a9c3875810586ea506260d1a7f11af66a2ef0a2 Mon Sep 17 00:00:00 2001 From: Sylvain Doignon Date: Tue, 14 Jun 2016 22:21:49 +0200 Subject: [PATCH] Info on "How to update MiniVim ?" --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index fee50e2..705ee5d 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,13 @@ There are 2 solutions : - `sudo -E vim [file]` as `-E ` preserve your existing environment variables (as $HOME here and therefore your ~/.vimrc). - `sudoedit [file]` or `sudo -e [file]` (synonyms). To use this, you must have set your `$EDITOR` environment variable. Then, this command will make a copy of the designated file and you will edit the copy. Note that the original file will only be modified when you exit your editor ! +## How to update MiniVim ? + +First, you have to fetch the latest MiniVim. If you had cloned the repo, simply `git pull`. Else, re-download the lastest version on GitHub. + +If you setup MiniVim automatically, simply re-run the installer. It will take care of everything. + +If not, copy again the vimrc file to `~/.vimrc` ## Other info