" Toggle background " Last Change: April 7, 2011 " Maintainer: Ethan Schoonover " License: OSI approved MIT license if exists("g:loaded_ToggleBackground") finish endif let g:loaded_ToggleBackground = 1 if !exists("no_plugin_maps") && !hasmapto('ToggleBackground') " map alone won't work here as it doesn't try silent! nmap ToggleBackground silent! imap ToggleBackground silent! vmap ToggleBackground finally let g:test_val = "checked" endtry endif " noremap is a bit misleading here if you are unused to vim mapping. " in fact, there is remapping, but only of script locally defined remaps, in " this case TogBG. The