summaryrefslogtreecommitdiff
path: root/_posts/2008-12-05-vim-and-git.textile
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
committerFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
commit8ddf2e94df70707b458528a437759b96046d3e01 (patch)
treed442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2008-12-05-vim-and-git.textile
parentDon't need to use the IP in the makefile. (diff)
downloadlumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and styles. Added a new page for the resume.
Diffstat (limited to '')
-rw-r--r--_posts/2008-12-05-vim-and-git.md (renamed from _posts/2008-12-05-vim-and-git.textile)8
1 files changed, 5 insertions, 3 deletions
diff --git a/_posts/2008-12-05-vim-and-git.textile b/_posts/2008-12-05-vim-and-git.md
index 1a137b6..00f8ff1 100644
--- a/_posts/2008-12-05-vim-and-git.textile
+++ b/_posts/2008-12-05-vim-and-git.md
@@ -1,6 +1,6 @@
---
layout: post
-category: app
+summary: In which I share another snippet of code for vim.
title: vim and git
---
@@ -31,14 +31,16 @@ function! SourceDiff()
endfunction
{% endhighlight %}
-the output will look like
+the output looks like this:
-bc. Choose a revision:
+{% 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 %}
You choose the revision you want to check the diff against, and you got a (colorless) diff in your vim buffer.