mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
add native plugin install to README
Added native way to install plugins in vim 8+ without any plugin manager
This commit is contained in:
parent
f6855c3c41
commit
471285b6a9
@ -140,6 +140,13 @@ You can also install your plugins, for instance, via pathogen you can install [v
|
|||||||
cd ~/.vim_runtime
|
cd ~/.vim_runtime
|
||||||
git clone git://github.com/tpope/vim-rails.git my_plugins/vim-rails
|
git clone git://github.com/tpope/vim-rails.git my_plugins/vim-rails
|
||||||
|
|
||||||
|
You can also install plugins without any plugin manager (vim 8+ required):
|
||||||
|
Add `packloadall` to your .vimrc file
|
||||||
|
Create pack plugin directory:
|
||||||
|
`mkdir -p ~/.vim/pack/plugins/start`
|
||||||
|
Clone the plugin that you want in that directory, for example:
|
||||||
|
`git clone --depth=1 git://github.com/maxmellon/vim-jsx-pretty ~/.vim/pack/plugins/vim-jsx-pretty`
|
||||||
|
|
||||||
|
|
||||||
## Key Mappings
|
## Key Mappings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user