This commit is contained in:
Amir 2022-10-15 21:48:38 +02:00
parent 95ead018ad
commit adbefa9283

View file

@ -150,11 +150,10 @@ You can also install your plugins, for instance, via pathogen you can install [v
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`
* Add `packloadall` to your `.vimrc` file
* Create pack plugin directory: `mkdir -p ~/.vim_runtime/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_runtime/pack/plugins/start/vim-jsx-pretty`
## Key Mappings