Skip to content

Instantly share code, notes, and snippets.

set nocompatible
syntax on
"filetype off
""" Bundles
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'groenewege/vim-less'
Bundle 'skammer/vim-css-color'
@stett
stett / accum.cpp
Last active February 29, 2016 11:55
Accumulate insertions and deletions from git log --numstat --pretty="%n"
/*
This is a command-line program to sum up and print all
line insertions and deletions listed by the statistical
git log command. Where "accumulate" is the compiled program,
it can be used with a "|" as follows:
git log --numstat --pretty="%n" | accumulate
Git log results may be filtered by a number of parameters.
Notably, the --author="..." and --since="../../...." can be