45b16bbe73c2

vim: add a diff shortcut
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 27 Jul 2010 11:06:14 -0400
parents 1dc31fefa4ca
children 039cb7662d50 c591465563db
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Tue Jul 27 09:09:43 2010 -0400
+++ b/vim/.vimrc	Tue Jul 27 11:06:14 2010 -0400
@@ -194,3 +194,6 @@
 
 " Scratch
 nmap <tab><tab> :Sscratch<cr><C-W>x<C-j>:resize 15<cr>
+
+" Diff
+nmap <leader>d :!hg diff %<cr>