summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/etc/add-log.vi
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/etc/add-log.vi')
-rw-r--r--binutils-2.25/etc/add-log.vi11
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils-2.25/etc/add-log.vi b/binutils-2.25/etc/add-log.vi
new file mode 100644
index 00000000..efb8c77a
--- /dev/null
+++ b/binutils-2.25/etc/add-log.vi
@@ -0,0 +1,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