# HG changeset patch # User mahlon # Date 1240190648 0 # Node ID e47dd47e5247117bc1ae4cc8879214f8cc2714d8 # Parent 31d00503e03851f748bc05f9572cf6d8a845ca7e * No reason to do string contatenation here. diff -r 31d00503e038 -r e47dd47e5247 specky/plugin/specky.vim --- a/specky/plugin/specky.vim Mon Apr 20 00:57:06 2009 +0000 +++ b/specky/plugin/specky.vim Mon Apr 20 01:24:08 2009 +0000 @@ -8,23 +8,23 @@ " Hook up the functions to the user supplied key bindings. {{{ " if exists( 'g:speckySpecSwitcherKey' ) - execute 'map ' . g:speckySpecSwitcherKey . ' :call <SID>SpecSwitcher()<CR>' + map &g:speckySpecSwitcherKey <SID>SpecSwitcher() endif if exists( 'g:speckyQuoteSwitcherKey' ) - execute 'map ' . g:speckyQuoteSwitcherKey . ' :call <SID>QuoteSwitcher()<CR>' + map &g:speckyQuoteSwitcherKey <SID>QuoteSwitcher() endif if exists( 'g:speckyBannerKey' ) - execute 'map ' . g:speckyBannerKey . ' :call <SID>MakeBanner()<CR>' + map &g:speckyBannerKey <SID>MakeBanner() endif if exists( 'g:speckyRunSpecKey' ) - execute 'map ' . g:speckyRunSpecKey . ' :call <SID>RunSpec()<CR>' + map &g:speckyRunSpecKey <SID>RunSpec() endif if exists( 'g:speckyRunRdocKey' ) - execute 'map ' . g:speckyRunRdocKey . ' :call <SID>RunRdoc()<CR>' + map g:speckyRunRdocKey <SID>RunRdoc() endif if exists( 'specky_loaded' )