sponsor Vim development Vim logo Vim Book Ad

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

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

created by
Peter Odding
 
script type
utility
 
description
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:

http://peterodding.com/code/vim/colorscheme-switcher/
http://github.com/xolox/vim-colorscheme-switcher

If you have questions, bug reports, suggestions, etc. the author can be contacted at [email protected]. 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:
   http://github.com/xolox/vim-colorscheme-switcher/commit/4d9807a
colorscheme-switcher.zip 0.5 2014-11-19 7.0 Peter Odding • Make it possible to exclude color schemes in $VIMRUNTIME/colors:
   http://github.com/xolox/vim-colorscheme-switcher/commit/03ed734
colorscheme-switcher.zip 0.4.1 2014-06-25 7.0 Peter Odding • Mention vim-colorscheme-manager in README:
   http://github.com/xolox/vim-colorscheme-switcher/commit/1c87ba8
> • Enable usage from vimrc (improved robustness, see issue #4 on GitHub):
  
http://github.com/xolox/vim-colorscheme-switcher/commit/689c86b
colorscheme-switcher.zip 0.4 2014-06-20 7.0 Peter Odding • Implement request in issue #3 (option to override :colorscheme command):
   http://github.com/xolox/vim-colorscheme-switcher/commit/25265ac
colorscheme-switcher.zip 0.3 2014-06-19 7.0 Peter Odding • Implement :RandomColorScheme (mapped to <C-F8> by default):
   http://github.com/xolox/vim-colorscheme-switcher/commit/9c52c02
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:
   http://github.com/xolox/vim-colorscheme-switcher/commit/487260a
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):
   http://github.com/xolox/vim-colorscheme-switcher/commit/afeefed
colorscheme-switcher.zip 0.2.2 2013-05-20 7.0 Peter Odding • Updated miscellaneous scripts:
   http://github.com/xolox/vim-colorscheme-switcher/commit/5e32341
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:
   http://github.com/xolox/vim-colorscheme-switcher/commit/27e01bf
> • Updated miscellaneous scripts:
  
http://github.com/xolox/vim-colorscheme-switcher/commit/74e905c
colorscheme-switcher.zip 0.2 2013-05-18 7.0 Peter Odding Initial upload
ip used for rating: 142.132.191.50

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.
   
Vim at Github