instructions for windows vim

Mavaddat Javid
2021-11-03 16:22:30 -07:00
parent ee3e7c3157
commit ac72c16fd5

@@ -16,7 +16,8 @@ First of all let's start with basics. Pick your favorite plugin manager: [Pathog
+ Add `Plug 'morhetz/gruvbox'` to your .vimrc and run `:PlugInstall`
- Vim-8
+ `git clone https://github.com/morhetz/gruvbox.git ~/.vim/pack/default/start/gruvbox`
- VIM - Vi IMproved 8.x MS-Windows 64-bit console version
+ `git clone https://github.com/morhetz/gruvbox.git "~\vimfiles\pack\default\start\gruvbox"`
Then add the line `autocmd vimenter * ++nested colorscheme gruvbox` to your .vimrc file, and restart vim. If you are using a plugin manager like Vundle, make sure this setting is after the plugin initialization section.
[the reason we are using autocmd is that, vim always read .vimrc file first and after that starts to load plugins, so in this case, we use autocmd vimenter, to be sure that all plugins are loaded completely and then use gruvbox]