Home > misc > Vim macro for change log entry in .spec files

Vim macro for change log entry in .spec files

February 10th, 2009 Leave a comment Go to comments

Tired of writing this kind of lines by hand ?

* Mon Feb 09 2009 Damien Lespiau <damien.lespiau@xxxx.com> 1.4.3

This vim macro does just this for you!

nmap ,mob-ts :r!date +'\%a \%b \%d \%Y'<CR>0i* <ESC>$a Damien Lespiau <damien.lespiau@xxxx.com> FIXME

Categories: misc
  1. No comments yet.
  1. No trackbacks yet.