1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# Installation instructions
It is recommended to install the plugin using a plugin manager. Pick your favorite, here are
instructions for some common ones.
### Using [vim-plug]
Add a new plugin line to your `.vimrc` (or `init.vim` on neovim):
```vim
Plug 'JuliaEditorSupport/julia-vim'
```
**Note:** do *not* use the on-demand loading feature of vim-plug.
Most of the plugin is loaded on-demand anyway.
Run `vim` and update your bundles:
```vim
:PlugInstall
```
### Using [vundle]
Add a new plugin line to your `.vimrc` (or `init.vim` on neovim):
```vim
Plugin 'JuliaEditorSupport/julia-vim'
```
Run `vim` and update your bundles:
```vim
:PluginInstall!
```
### Using [pathogen]
(Note: if you are on Vim 8 or later you may as well use the built-in package management instead of
pathogen)
```bash
cd ~/.vim
mkdir -p bundle && cd bundle
git clone https://github.com/JuliaEditorSupport/julia-vim.git
```
[pathogen]: https://github.com/tpope/vim-pathogen
[vundle]: https://github.com/gmarik/vundle
[vim-plug]: https://github.com/junegunn/vim-plug
### Using built-in package management
Load plugin on Vim startup (see `:help packages`):
```bash
cd ~/.vim
mkdir -p pack/plugins/start && cd pack/plugins/start
git clone https://github.com/JuliaEditorSupport/julia-vim.git
```
### Manually
**It is advised not to use manual installation.** Since julia-vim follows the standard runtime path structure, you can copy (or symlink)
the relevant portions of this repository into the vim application support directory (`~/.vim` or
`~/.config/nvim` or whatever your system uses), as appropriate.
|