soywiki 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -0
- data/lib/soywiki.rb +1 -1
- data/lib/soywiki.vim +10 -2
- metadata +2 -2
data/README.markdown
CHANGED
@@ -311,6 +311,10 @@ this to other wiki pages that include the real content. And since
|
|
311
311
|
expansion is recursive, you can effectively nest outlines within
|
312
312
|
outlines, like dreams within dreams.
|
313
313
|
|
314
|
+
## Getting help
|
315
|
+
|
316
|
+
Typing `,?` will open this webpage in a browser.
|
317
|
+
|
314
318
|
|
315
319
|
## Why CamelCase WikiLinks rule
|
316
320
|
|
data/lib/soywiki.rb
CHANGED
data/lib/soywiki.vim
CHANGED
@@ -497,6 +497,14 @@ func! s:open_href()
|
|
497
497
|
echom command
|
498
498
|
endfunc
|
499
499
|
|
500
|
+
" --------------------------------------------------------------------------------
|
501
|
+
" HELP
|
502
|
+
func! s:show_help()
|
503
|
+
let command = g:SoyWiki#browser_command . ' ' . shellescape('http://danielchoi.com/software/soywiki.html')
|
504
|
+
call system(command)
|
505
|
+
endfunc
|
506
|
+
|
507
|
+
|
500
508
|
"------------------------------------------------------------------------
|
501
509
|
|
502
510
|
func! s:global_mappings()
|
@@ -537,11 +545,11 @@ func! s:prep_buffer()
|
|
537
545
|
command! -buffer SWBlame :call s:show_blame()
|
538
546
|
noremap <buffer> <leader>b :call <SID>show_blame()<CR>
|
539
547
|
|
540
|
-
|
541
|
-
|
542
548
|
noremap <buffer> <leader>x :call <SID>expand(0)<CR>
|
543
549
|
noremap <buffer> <leader>X :call <SID>expand(1)<CR>
|
544
550
|
|
551
|
+
noremap <silent> <leader>? :call <SID>show_help()<cr>
|
552
|
+
|
545
553
|
set nu
|
546
554
|
setlocal completefunc=CompletePage
|
547
555
|
augroup <buffer>
|