equal
deleted
inserted
replaced
6 " |
6 " |
7 |
7 |
8 " Hook up the functions to the user supplied key bindings. {{{ |
8 " Hook up the functions to the user supplied key bindings. {{{ |
9 " |
9 " |
10 if exists( 'g:speckySpecSwitcherKey' ) |
10 if exists( 'g:speckySpecSwitcherKey' ) |
11 execute 'map ' . g:speckySpecSwitcherKey . ' :call <SID>SpecSwitcher()<CR>' |
11 map &g:speckySpecSwitcherKey <SID>SpecSwitcher() |
12 endif |
12 endif |
13 |
13 |
14 if exists( 'g:speckyQuoteSwitcherKey' ) |
14 if exists( 'g:speckyQuoteSwitcherKey' ) |
15 execute 'map ' . g:speckyQuoteSwitcherKey . ' :call <SID>QuoteSwitcher()<CR>' |
15 map &g:speckyQuoteSwitcherKey <SID>QuoteSwitcher() |
16 endif |
16 endif |
17 |
17 |
18 if exists( 'g:speckyBannerKey' ) |
18 if exists( 'g:speckyBannerKey' ) |
19 execute 'map ' . g:speckyBannerKey . ' :call <SID>MakeBanner()<CR>' |
19 map &g:speckyBannerKey <SID>MakeBanner() |
20 endif |
20 endif |
21 |
21 |
22 if exists( 'g:speckyRunSpecKey' ) |
22 if exists( 'g:speckyRunSpecKey' ) |
23 execute 'map ' . g:speckyRunSpecKey . ' :call <SID>RunSpec()<CR>' |
23 map &g:speckyRunSpecKey <SID>RunSpec() |
24 endif |
24 endif |
25 |
25 |
26 if exists( 'g:speckyRunRdocKey' ) |
26 if exists( 'g:speckyRunRdocKey' ) |
27 execute 'map ' . g:speckyRunRdocKey . ' :call <SID>RunRdoc()<CR>' |
27 map g:speckyRunRdocKey <SID>RunRdoc() |
28 endif |
28 endif |
29 |
29 |
30 if exists( 'specky_loaded' ) |
30 if exists( 'specky_loaded' ) |
31 finish |
31 finish |
32 endif |
32 endif |