Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 892 Bytes

File metadata and controls

31 lines (22 loc) · 892 Bytes

Vim ColorSchemeCycle

Provides a mechanism in which the user can cycle through locally-installed Vim ColorSchemes.

Example Demonstration

Adapted from some code I found at https://www.reddit.com/r/vim/comments/w4iv6b/comment/ih3rkhf

Keystrokes

The default keystrokes defined are:

  • Load the 'next' available ColorScheme.
  • Load the 'previous' available ColorScheme.

These keystrokes can be customized by defining g:csc_next_key and g:csc_previous_key variables in your .vimrc file.

Custom Keystroke Examples:

" Use <CTRL-SHIFT-k> and <CTRL-k>
let g:csc_next_key = "C-S-k"
let g:csc_previous_key = "C-k"
" Defaults:
let g:csc_next_key = "C-n"
let g:csc_previous_key = "C-p"