mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
Adapt repo to support XDG configuration placemet
This commit is contained in:
16
README.rst
16
README.rst
@@ -7,9 +7,23 @@ of it.
|
||||
It uses `vim-plug`_ plugin manager, so after cloning, just open vim, and it
|
||||
will automatically install all the plugins.
|
||||
|
||||
It should be cloned as is into `$HOME`` directory, i.e:
|
||||
|
||||
.. code:: console
|
||||
|
||||
cd $HOME
|
||||
git clone https://github.com/gryf/.vim
|
||||
|
||||
or in ``$XDG_COFIG_HOME`` directory, which usually is set to ``$HOME/.config``:
|
||||
|
||||
.. code:: console
|
||||
|
||||
git clone https://github.com/gryf/.vim ~/.config/vim
|
||||
|
||||
Other than that, there are two additional config files which can be added to
|
||||
the configuration as a local configuration files just to not mess up with main
|
||||
config file. Both of them should be placed under ``$HOME/.vim`` directory.
|
||||
config file. Both of them should be placed under ``$HOME/.vim`` or
|
||||
``$XDG_COFIG_HOME/vim`` depending on your installation.
|
||||
|
||||
First one is ``vimrc.local``, which might contain additional/override options
|
||||
for specific machine.
|
||||
|
||||
Reference in New Issue
Block a user