115447b937
* Remove duplicated instructions * Move Vim's 8 instructions to the top and add more detailed steps * Update INSTALL.md (from review) * update install instructions for plugin managers And reformat some markdown Co-authored-by: D. Ben Knoble <ben.knoble@gmail.com> Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
1.7 KiB
1.7 KiB
Vim
Install
These are the default instructions using Vim 8's |packages|
feature. See
sections below, if you use other plugin managers.
- Create theme folder (in case you don't have yet):
mkdir -p ~/.vim/pack/themes/start
- Navigate to the folder above:
cd ~/.vim/pack/themes/start
- Clone the repository using the "dracula" name:
git clone https://github.com/dracula/vim.git dracula
- Create configuration file (in case you don't have yet):
touch ~/.vimrc
- Edit the
~/.vimrc
file with the following content:
packadd! dracula
syntax enable
colorscheme dracula
Install using other plugin managers
If you use vim + pathogen:
cd ~/.vim
git submodule add git@github.com:dracula/vim.git bundle/dracula
Place colorscheme dracula
after execute pathogen#infect()
.
If you use vim + vundle:
Plugin 'dracula/vim', { 'name': 'dracula' }
:PluginInstall
Place colorscheme dracula
after call vundle#end()
.
If you use vim-plug (`as` will install the plugin in a directory called 'dracula' instead of just 'vim'):
Plug 'dracula/vim', { 'as': 'dracula' }
:PlugInstall
Place colorscheme dracula
after call plug#end()
.
Note that dracula must be in your 'runtimepath'
to load properly: Version 2.0
introduced autoload functionality for part of the plugin, which doesn't work
without 'runtimepath'
properly set. Consult your plugin-managers documentation
to make sure you put dracula on the 'runtimepath'
before loading it.