mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-18 16:47:23 -05:00
instructions for windows vim
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user