mirror of
1
0
Fork 0

add native plugin install to README (#632)

This commit is contained in:
Vitaly Sharov 2021-07-04 23:53:29 +03:00 committed by GitHub
parent 6deb158069
commit d5b84d7ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -141,6 +141,13 @@ You can also install your plugins, for instance, via pathogen you can install [v
cd ~/.vim_runtime
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