specky/plugin/specky.vim
branchvim-stuff
changeset 8 2e76f5b2a40f
parent 7 e47dd47e5247
child 11 a9ebb6c22d14
equal deleted inserted replaced
7:e47dd47e5247 8:2e76f5b2a40f
     3 " Specky!
     3 " Specky!
     4 " Mahlon E. Smith <mahlon@martini.nu>
     4 " Mahlon E. Smith <mahlon@martini.nu>
     5 " $Id$
     5 " $Id$
     6 "
     6 "
     7 
     7 
       
     8 
     8 " Hook up the functions to the user supplied key bindings. {{{
     9 " Hook up the functions to the user supplied key bindings. {{{
     9 "
    10 "
    10 if exists( 'g:speckySpecSwitcherKey' )
    11 if exists( 'g:speckySpecSwitcherKey' )
    11 	map &g:speckySpecSwitcherKey <SID>SpecSwitcher()
    12 	execute 'map ' . g:speckySpecSwitcherKey . ' :call <SID>SpecSwitcher()<CR>'
       
    13 "	map &g:speckySpecSwitcherKey <SID>SpecSwitcher()
    12 endif
    14 endif
    13 
    15 
    14 if exists( 'g:speckyQuoteSwitcherKey' )
    16 if exists( 'g:speckyQuoteSwitcherKey' )
    15 	map &g:speckyQuoteSwitcherKey <SID>QuoteSwitcher()
    17 	execute 'map ' . g:speckyQuoteSwitcherKey . ' :call <SID>QuoteSwitcher()<CR>'
    16 endif
    18 endif
    17 
    19 
    18 if exists( 'g:speckyBannerKey' )
    20 if exists( 'g:speckyBannerKey' )
    19 	map &g:speckyBannerKey <SID>MakeBanner()
    21 	execute 'map ' . g:speckyBannerKey . ' :call <SID>MakeBanner()<CR>'
    20 endif
    22 endif
    21 
    23 
    22 if exists( 'g:speckyRunSpecKey' )
    24 if exists( 'g:speckyRunSpecKey' )
    23 	map &g:speckyRunSpecKey <SID>RunSpec()
    25 	execute 'map ' . g:speckyRunSpecKey . ' :call <SID>RunSpec()<CR>'
    24 endif
    26 endif
    25 
    27 
    26 if exists( 'g:speckyRunRdocKey' )
    28 if exists( 'g:speckyRunRdocKey' )
    27 	map g:speckyRunRdocKey <SID>RunRdoc()
    29 	execute 'map ' . g:speckyRunRdocKey . ' :call <SID>RunRdoc()<CR>'
    28 endif
    30 endif
    29 
    31 
    30 if exists( 'specky_loaded' )
    32 if exists( 'specky_loaded' )
    31 	finish
    33 	finish
    32 endif
    34 endif