etc/add-log.vi
raw| 1 | Here is a vi macro to create entries in the recommended format for |
| 2 | GDB's ChangeLogs. |
| 3 | |
| 4 | map 1GO:r !date '+\%Y-\%m-\%d'2GA Jason Molenda (:r !whoamikJxA@:r !hostnameA)kJxkddjO * k$ |
| 5 | |
| 6 | It contains control and escape sequences, so don't just cut and paste it. |
| 7 | You'll need to change the "Jason Molenda" bit, of course. :-) Put this |
| 8 | in your $HOME/.exrc and when you type control-X in move-around-mode, |
| 9 | you'll have a changelog template inserted. |
| 10 | |
| 11 | --- Jason Molenda |