diff options
Diffstat (limited to '')
| -rw-r--r-- | _posts/2008-12-05-vim-and-git.md | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/_posts/2008-12-05-vim-and-git.md b/_posts/2008-12-05-vim-and-git.md index 00f8ff1..39f8024 100644 --- a/_posts/2008-12-05-vim-and-git.md +++ b/_posts/2008-12-05-vim-and-git.md @@ -4,7 +4,7 @@ summary: In which I share another snippet of code for vim. title: vim and git --- -idea from "Ovid's journal":http://use.perl.org/~Ovid/journal/37966 (ovid is full of really good ideas for vim): +idea from [Ovid's journal](http://use.perl.org/use.perl.org/_Ovid/journal/37966.html) (ovid is full of really good ideas for vim): to get a quick git diff in my vim session, put this in your .vimrc @@ -33,15 +33,11 @@ endfunction the output looks like this: -{% highlight sh %} -Choose a revision: -1: ea0bb4d - (3 days ago) franck cuny - fix new_freq -2: a896ac7 - (5 weeks ago) franck cuny - fix typo -3: c9bc5fd - (5 weeks ago) franck cuny - update test -4: e9de4be - (5 weeks ago) franck cuny - change the way we rewrite and check an existing url -5: 3df1fd6 - (7 weeks ago) franck cuny - put id category -{% endhighlight %} + Choose a revision: + 1: ea0bb4d - (3 days ago) franck cuny - fix new_freq + 2: a896ac7 - (5 weeks ago) franck cuny - fix typo + 3: c9bc5fd - (5 weeks ago) franck cuny - update test + 4: e9de4be - (5 weeks ago) franck cuny - change the way we rewrite and check an existing url + 5: 3df1fd6 - (7 weeks ago) franck cuny - put id category You choose the revision you want to check the diff against, and you got a (colorless) diff in your vim buffer. - - |
