Created
October 27, 2020 02:59
-
-
Save keeganjk/d9e815ddb327c7de1e3a79f6503d2a0f 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
let t:is_transparent = 0 | |
function! Toggle_transparent() | |
if t:is_transparent == 0 | |
hi Normal guibg=NONE ctermbg=NONE | |
let t:is_transparent = 1 | |
else | |
set background=dark | |
let t:is_tranparent = 0 | |
endif | |
endfunction | |
nnoremap <C-t> : call Toggle_transparent()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment