summaryrefslogtreecommitdiff
path: root/git.exrc
blob: 687455c5e77f39ec7ac832c36dd0f9d1b5f8f525 (plain)
1
2
3
4
5
6
" cut first committed file to commit message
map g dd/committed
j0dt:dWdd''PA: 
" convert cut relative file path to absolute
map q !!perl -MCwd=abs_path -pe 'if (/^(.*?): (.*)$/) { $p = abs_path($1); $p =~ s,.*/,, if $p eq $1; $_ = "$p: $2\n" }'
$
" go to first line
1