lib/soywiki.vim in soywiki-0.4.0 vs lib/soywiki.vim in soywiki-0.4.1
- old
+ new
@@ -276,11 +276,11 @@
func! s:show_revision_history(stat)
if (a:stat)
exec ":!git log --stat " . bufname('%')
else
- exec ":!git log --color-words -p " . bufname('%')
+ exec ":!git log -p " . bufname('%')
end
endfunc
func! s:show_blame()
exec ":! git blame --date=relative " . bufname('%')
@@ -596,11 +596,12 @@
command! -bar -nargs=1 -range -complete=file SWCreate :call <SID>create_page(<f-args>)
command! -bar -nargs=1 -range -complete=file SWRenameTo :call <SID>rename_page(<f-args>)
command! -buffer SWDelete :call s:delete_page()
command! -buffer SWLog :call s:show_revision_history(0)
- noremap <buffer> <leader>l :call <SID>show_revision_history(0)<CR>
+ noremap <buffer> <leader>lp :call <SID>show_revision_history(0)<CR>
command! -buffer SWLogStat :call s:show_revision_history(1)
+ noremap <buffer> <leader>ls :call <SID>show_revision_history(1)<CR>
command! -buffer SWBlame :call s:show_blame()
noremap <buffer> <leader>b :call <SID>show_blame()<CR>
noremap <buffer> <leader>x :call <SID>expand(0,1)<CR>
noremap <buffer> <leader>X :call <SID>expand(1,1)<CR>