Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • With vim, where the C-A and C-X commands are available to increment and decrement numbers, I'll probably be doing (without thinking much), from the 1st line :
    <C-A>ddpk<C-X>
    • by prakash (2793) on 2003.11.05 17:42 (#25506) Journal
      Hmm. I didn't know about these. Learnt something new.

      Also, to make it even easier, a temporary binding can be created using map.

      :map <C-Q>  <C-A>ddpk<C-X>

      Of course, a better (preferably unused) key may be used in place of

      <C-Q>
      I just chose that as it is rarely used, I think.

      /prakash