Sometimes we want to quickly browse the theme and find the beautiful theme, I think this plugin will meet your requirements.
git https://github.com/chxuan/change-colorscheme.git
cd ./change-colorscheme/plugin
cp change-colorscheme.vim ~/.vim/plugin
Or if you used Vundle, add 'chxuan/change-colorscheme'
into your ~/.vimrc
and run :PluginInstall
.
Put something like the following into your ~/.vimrc
:
map <F12> :NextColorScheme<CR>
imap <F12> <ESC> :NextColorScheme<CR>
map <F11> :PreviousColorScheme<CR>
imap <F11> <ESC> :PreviousColorScheme<CR>
If you do this the F12
key will load next colorscheme and the F11
key will load previous colorscheme. You can of course use any shortcut you want. if you want to know current colorscheme, please run :colorscheme
.
This plugin will look for the colorscheme in ~/.vim/colors
.
This software is licensed under the MIT license. © 2016 chxuan