sponsor Vim development Vim logo Vim Book Ad

vim-colorscheme-switcher : Easily & quickly switch between color schemes

 script karma  Rating 48/23, Downloaded by 7007  Comments, bugs, improvements  Vim wiki

created by
Peter Odding
script type
The colorscheme switcher plug-in for the Vim text editor makes it easy to quickly switch between colorschemes. It defines commands and mappings to switch to the next and previous color schemes:

:NextColorScheme command and <F8> mapping
:PrevColorScheme command and <Shift-F8> mapping

For more information about the plug-in please refer to its homepage or the project page on GitHub:


If you have questions, bug reports, suggestions, etc. the author can be contacted at peter@peterodding.com. If you like this plug-in please vote for it below!
install details
Please note that the vim-colorscheme-switcher plug-in requires my vim-misc plug-in which is separately distributed (see vimscript #4597).

Unzip the most recent ZIP archives of the vim-colorscheme-switcher and vim-misc plug-ins inside your Vim profile directory (usually this is ~/.vim on UNIX and %USERPROFILE%\vimfiles on Windows), restart Vim and execute the command :helptags ~/.vim/doc (use :helptags ~\vimfiles\doc instead on Windows). Now try it out: Execute :NextColorScheme to switch to the next color scheme.

If you didn't change the plug-in's configuration you can now use the F8 and Shift-F8 keys to switch to the next/previous color scheme.

If you prefer you can also use Pathogen, Vundle or a similar tool to install & update the vim-colorscheme-switcher and vim-misc plug-ins using a local clone of the git repository.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
colorscheme-switcher.zip 0.5.1 2015-04-01 7.0 Peter Odding Potential workaround for color scheme switching in terminal Vim:
colorscheme-switcher.zip 0.5 2014-11-19 7.0 Peter Odding Make it possible to exclude color schemes in $VIMRUNTIME/colors:
colorscheme-switcher.zip 0.4.1 2014-06-25 7.0 Peter Odding Mention vim-colorscheme-manager in README:

Enable usage from vimrc (improved robustness, see issue #4 on GitHub):
colorscheme-switcher.zip 0.4 2014-06-20 7.0 Peter Odding Implement request in issue #3 (option to override :colorscheme command):
colorscheme-switcher.zip 0.3 2014-06-19 7.0 Peter Odding Implement :RandomColorScheme (mapped to <C-F8> by default):
colorscheme-switcher.zip 0.2.5 2013-08-19 7.0 Peter Odding Make sure vim-misc is installed, politely complain if it isn't:
colorscheme-switcher.zip 0.2.4 2013-05-25 7.0 Peter Odding Document vim-misc as external dependency (needs to be installed separately from now on):
colorscheme-switcher.zip 0.2.2 2013-05-20 7.0 Peter Odding Updated miscellaneous scripts:
colorscheme-switcher.zip 0.2.1 2013-05-19 7.0 Peter Odding Add link to Vim Online page in README.md, also create INSTALL.md:

Updated miscellaneous scripts:
colorscheme-switcher.zip 0.2 2013-05-18 7.0 Peter Odding Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.