From 4a9b7ecc66e6a451e273befcf418d36cb7167637 Mon Sep 17 00:00:00 2001 From: Ethan Schoonover Date: Tue, 12 Apr 2011 16:17:59 -0700 Subject: updated vim solarized togglebg plugin to fix silent error on unique remapping --- autoload/togglebg.vim | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 autoload/togglebg.vim (limited to 'autoload') diff --git a/autoload/togglebg.vim b/autoload/togglebg.vim new file mode 100644 index 0000000..f060cee --- /dev/null +++ b/autoload/togglebg.vim @@ -0,0 +1,47 @@ +" Toggle background +" Last Change: April 7, 2011 +" Maintainer: Ethan Schoonover +" License: OSI approved MIT license + +if exists("g:loaded_togglebg") + finish +endif +let g:loaded_togglebg = 1 + +" 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