# 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 SpecSwitcher()' + map &g:speckySpecSwitcherKey SpecSwitcher() endif if exists( 'g:speckyQuoteSwitcherKey' ) - execute 'map ' . g:speckyQuoteSwitcherKey . ' :call QuoteSwitcher()' + map &g:speckyQuoteSwitcherKey QuoteSwitcher() endif if exists( 'g:speckyBannerKey' ) - execute 'map ' . g:speckyBannerKey . ' :call MakeBanner()' + map &g:speckyBannerKey MakeBanner() endif if exists( 'g:speckyRunSpecKey' ) - execute 'map ' . g:speckyRunSpecKey . ' :call RunSpec()' + map &g:speckyRunSpecKey RunSpec() endif if exists( 'g:speckyRunRdocKey' ) - execute 'map ' . g:speckyRunRdocKey . ' :call RunRdoc()' + map g:speckyRunRdocKey RunRdoc() endif if exists( 'specky_loaded' )