Created
October 19, 2016 06:04
-
-
Save francium/846542a0c30411a546f2b4c692a31811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! ToggleBackgroundDarkness() | |
if &background ==# "light" | |
set background=dark | |
else | |
set background=light | |
endif | |
endfunction | |
map <F8> :call ToggleBackgroundDarkness()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment