1
0
Fork 0
mirror of synced 2024-11-22 08:45:34 -05:00

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

View file

@ -141,6 +141,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