aboutsummaryrefslogtreecommitdiff
path: root/etc/add-log.vi
blob: efb8c77aa2b861c6b8dcaa88eabf0e6ed1343e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
Here is a vi macro to create entries in the recommended format for
GDB's ChangeLogs.

map  1GO:r !date '+\%Y-\%m-\%d'2GA  Jason Molenda  (:r !whoamikJxA@:r !hostnameA)kJxkddjO
	* 
k$

It contains control and escape sequences, so don't just cut and paste it.
You'll need to change the "Jason Molenda" bit, of course. :-)  Put this
in your $HOME/.exrc and when you type control-X in move-around-mode,
you'll have a changelog template inserted.

--- Jason Molenda