Hmm, not sure why I thought this worked. It doesn't. vim-stuff
authormahlon
Mon, 20 Apr 2009 05:06:53 +0000
branchvim-stuff
changeset 8 2e76f5b2a40f
parent 7 e47dd47e5247
child 9 0d8306685c5c
Hmm, not sure why I thought this worked. It doesn't.
specky/plugin/specky.vim
--- a/specky/plugin/specky.vim	Mon Apr 20 01:24:08 2009 +0000
+++ b/specky/plugin/specky.vim	Mon Apr 20 05:06:53 2009 +0000
@@ -5,26 +5,28 @@
 " $Id$
 "
 
+
 " Hook up the functions to the user supplied key bindings. {{{
 "
 if exists( 'g:speckySpecSwitcherKey' )
-	map &g:speckySpecSwitcherKey <SID>SpecSwitcher()
+	execute 'map ' . g:speckySpecSwitcherKey . ' :call <SID>SpecSwitcher()<CR>'
+"	map &g:speckySpecSwitcherKey <SID>SpecSwitcher()
 endif
 
 if exists( 'g:speckyQuoteSwitcherKey' )
-	map &g:speckyQuoteSwitcherKey <SID>QuoteSwitcher()
+	execute 'map ' . g:speckyQuoteSwitcherKey . ' :call <SID>QuoteSwitcher()<CR>'
 endif
 
 if exists( 'g:speckyBannerKey' )
-	map &g:speckyBannerKey <SID>MakeBanner()
+	execute 'map ' . g:speckyBannerKey . ' :call <SID>MakeBanner()<CR>'
 endif
 
 if exists( 'g:speckyRunSpecKey' )
-	map &g:speckyRunSpecKey <SID>RunSpec()
+	execute 'map ' . g:speckyRunSpecKey . ' :call <SID>RunSpec()<CR>'
 endif
 
 if exists( 'g:speckyRunRdocKey' )
-	map g:speckyRunRdocKey <SID>RunRdoc()
+	execute 'map ' . g:speckyRunRdocKey . ' :call <SID>RunRdoc()<CR>'
 endif
 
 if exists( 'specky_loaded' )