During my tutorials I found myself creating handfuls of scripts, all of which starting with the warning and strict pragmas. Following Damian Conway's example, I set up a Vim abbreviation:
:iab uw; use warnings;use strict;
preview, preview, preview
rjbs on 2004-12-03T00:08:12
I should've. Insert <CR> in the right places in there.Re:preview, preview, preview
statico on 2004-12-03T03:46:59
Interesting.... This has the strange side effect of not advancing the cursor until (a) I complete the mapping or (b) a time delay, the former of which throws me off a bit. I'll try out both. Thanks!