Dracula - fairulazmin/note GitHub Wiki

Install dracula

Add plugin

open the ~/.vim/theme/dracula.vim and ~/.config/nvim/theme/dracula.vim file via nvim/vim and add the following code:

call plug#begin('~/.vim/autoload/plugged')
  ...
  ...
  ...
  " Plugin for dracula
  Plug 'dracula/vim'
call plug#end()

Install the plugin

Vim / Neovim

Open Vim

vim

Open Neovim

nvim

Install the plugins

:PlugInstall

Create plug config file

Vim

Create dracula.vim file

touch ~/.vim/theme/dracula.vim

Neovim

Create a dracula.vim file

touch ~/.config/nvim/theme/dracula.vim

Add settings

open the ~/.vim/theme/dracula.vim or ~/.config/nvim/theme/dracula.vim file via vim and add the following code:

colorscheme dracula

Source the plugins

Vim

Add the following line to .vimrc

source $HOME/.vim/theme/dracula.vim

Neovim

Add the following line to init.vim

source $HOME/.config/nvim/theme/dracula.vim