soywiki 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +2 -2
- data/lib/soywiki.rb +1 -1
- data/lib/soywiki.vim +3 -2
- metadata +3 -3
data/README.markdown
CHANGED
@@ -343,9 +343,9 @@ common wiki this way, in peer to peer fashion.
|
|
343
343
|
SoyWiki provides a few convenient key mappings to view the revision
|
344
344
|
history of a wiki page:
|
345
345
|
|
346
|
-
* `,
|
346
|
+
* `,lp` shows a `git-log -p` view of the revision history of the current page
|
347
|
+
* `,ls` shows a `git log --stat` view of the current page's revision history
|
347
348
|
* `,b` shows a `git-blame` view of the current page, which shows when each line was added and by whom.
|
348
|
-
* `:SWLogStat` shows a `git log --stat` view of the current page's revision history
|
349
349
|
|
350
350
|
You can always bypass Vim and SoyWiki altogether and use Git directly to
|
351
351
|
inspect your revision history. The Git repo for your SoyWiki wiki will
|
data/lib/soywiki.rb
CHANGED
data/lib/soywiki.vim
CHANGED
@@ -278,7 +278,7 @@ func! s:show_revision_history(stat)
|
|
278
278
|
if (a:stat)
|
279
279
|
exec ":!git log --stat " . bufname('%')
|
280
280
|
else
|
281
|
-
exec ":!git log
|
281
|
+
exec ":!git log -p " . bufname('%')
|
282
282
|
end
|
283
283
|
endfunc
|
284
284
|
|
@@ -598,8 +598,9 @@ func! s:prep_buffer()
|
|
598
598
|
command! -buffer SWDelete :call s:delete_page()
|
599
599
|
|
600
600
|
command! -buffer SWLog :call s:show_revision_history(0)
|
601
|
-
noremap <buffer> <leader>
|
601
|
+
noremap <buffer> <leader>lp :call <SID>show_revision_history(0)<CR>
|
602
602
|
command! -buffer SWLogStat :call s:show_revision_history(1)
|
603
|
+
noremap <buffer> <leader>ls :call <SID>show_revision_history(1)<CR>
|
603
604
|
command! -buffer SWBlame :call s:show_blame()
|
604
605
|
noremap <buffer> <leader>b :call <SID>show_blame()<CR>
|
605
606
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Daniel Choi
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-16 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|