Skip to content

christophermca/speyside

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speyside

A Vim 9.0 Colorscheme

build with pollock

Configuration

in your vimrc g:SpeysideDefaultLuminence=` to values [1-3]

1: Dark 2: Middle 3: Light

Switching Between Luminance

Set a shortcut to call the Speyside plugin.

if maparg('<leader>gl', 'n') ==# ''
  xmap <leader>gl  <plug>Speyside
  vmap <leader>gl  <plug>Speyside
  nmap <leader>gl  <plug>Speyside
  omap <leader>gl  <plug>Speyside
endif

NEW FEATURE

ToggleLuminance

Requires configuration change

set rtp=<path-to-day-night-mode>

g:SpeysideMode=<path-to-current-mode>

if maparg('<leader>gt', 'n') ==# ''
  xmap <leader>gt  <plug>ToggleLuminance
  vmap <leader>gt  <plug>ToggleLuminance
  nmap <leader>gt  <plug>ToggleLuminance
  omap <leader>gt  <plug>ToggleLuminance
endif

Contributing

code style: https://google.github.io/styleguide/vimscriptguide.xml