File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,24 @@ instructions on how to use and configure the plugin.
2222## Usage
2323
2424This plugin can be invoked using the ` :DiffStat ` command. When inside a repo,
25- run ` :DiffStat [commits..] ` to open the DiffStat window. See ` :help DiffStat `
26- for more details.
25+ run ` :DiffStat [commits..] ` to open the DiffStat window.
26+
27+ An example of this would be ` :DiffStat HEAD~1 ` to view a diff against the
28+ parent of the current tip.
29+
30+ See ` :help DiffStat-usage ` for more details.
2731
2832## Mapping
2933
3034One can easily remap ` <leader>d ` , for example, to view the last couple commit
3135points as follows:
3236
33- ` noremap <leader>d :DiffStat HEAD HEAD..HEAD~1 HEAD~1..HEAD~2 HEAD~2..HEAD~3 <cr> `
37+ ` noremap <leader>d :DiffStat HEAD HEAD..HEAD~1 HEAD~1..HEAD~2<cr> `
3438
39+ ## Screenshots
3540
41+ ![ DiffStat Screenshot] ( https://raw.github.com/wiki/mpetrov/vim-diffstat/diffstat.png )
3642
43+ Using ` :DiffStat HEAD HEAD~1 ` on the OpenJDK7 source.
3744
3845
You can’t perform that action at this time.
0 commit comments