1
0
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:
Vitaly Sharov 2021-04-29 11:22:10 +03:00 committed by GitHub
parent f6855c3c41
commit 471285b6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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