From bf4338a0f2c137a4fb49e8e9353c785aac74f197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zal=C3=A1n=20Meggyesi?= Date: Mon, 12 Mar 2018 06:44:18 +0100 Subject: [PATCH] Add parameterized install instructions to README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 85a87914..67e80267 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,21 @@ There are two versions: I would, of course, recommend using the awesome version. ## How to install the Awesome version? +### Install for your own user only The awesome version includes a lot of great plugins, configurations and color schemes that make Vim a lot better. To install it simply do following from your terminal: git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime sh ~/.vim_runtime/install_awesome_vimrc.sh + +### Install for multiple users +To install for multiple users, the repository needs to be cloned to a location accessible for all the intended users. + + git clone --depth=1 https://github.com/amix/vimrc.git /opt/vim_runtime + sh ~/.vim_runtime/install_awesome_parameterized.sh /opt/vim_runtime user0 user1 user2 + # to install for all users with home directories + sh ~/.vim_runtime/install_awesome_parameterized.sh /opt/vim_runtime --all + +Naturally, `/opt/vim_runtime` can be any directory, as long as all the users specified have read access. I also recommend using [the Hack font](http://sourcefoundry.org/hack/) (it's a free and awesome font designed for source code). The Awesome vimrc is already setup to try to use it.