lib/soywiki.vim in soywiki-0.0.2 vs lib/soywiki.vim in soywiki-0.0.3

- old
+ new

@@ -495,10 +495,18 @@ let command = g:SoyWiki#browser_command . " '" . href . "' " call system(command) echom command endfunc +" -------------------------------------------------------------------------------- +" HELP +func! s:show_help() + let command = g:SoyWiki#browser_command . ' ' . shellescape('http://danielchoi.com/software/soywiki.html') + call system(command) +endfunc + + "------------------------------------------------------------------------ func! s:global_mappings() noremap <leader>m :call <SID>list_pages()<CR> noremap <leader>M :call <SID>list_pages_linking_in()<CR> @@ -535,13 +543,13 @@ noremap <buffer> <leader>l :call <SID>show_revision_history(0)<CR> command! -buffer SWLogStat :call s:show_revision_history(1) command! -buffer SWBlame :call s:show_blame() noremap <buffer> <leader>b :call <SID>show_blame()<CR> - - noremap <buffer> <leader>x :call <SID>expand(0)<CR> noremap <buffer> <leader>X :call <SID>expand(1)<CR> + + noremap <silent> <leader>? :call <SID>show_help()<cr> set nu setlocal completefunc=CompletePage augroup <buffer> au!