Skip to content

Instantly share code, notes, and snippets.

@scheakur
Last active December 17, 2015 19:19
Show Gist options
  • Save scheakur/5659366 to your computer and use it in GitHub Desktop.
Save scheakur/5659366 to your computer and use it in GitHub Desktop.
List color numbers which make the option 'background' to be 'dark'
for i in range(0, 255)
execute 'hi Normal ctermbg=' . i
if &background == 'dark'
echo i
endif
endfor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment