in reply to .vimrc for perl programmers
-
:imap dumper <ESC>^iwarn Data::Dumper->Dump([\<ESC>llyw$a], ['<ESC>pa']);<ESC>
lets you type '@myarraydumper' and you'll get 'warn Data::Dumper->Dump([\@myarray], ['myarray']); - map ß O#!/usr/local/bin/perl<CR><ESC>iuse strict;<CR><ESC>iuse warnings;<CR>
- (un)comment: (update: this also works in visual mode. just select the block and type §1)
map §1 :s/^/# /<CR> map §2 :s/^# //<CR>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: .vimrc for perl programmers
by demerphq (Chancellor) on Mar 30, 2006 at 17:58 UTC | |
by mreece (Friar) on Nov 01, 2006 at 17:11 UTC | |
by demerphq (Chancellor) on Nov 01, 2006 at 17:50 UTC | |
Re^2: .vimrc for perl programmers
by cees (Curate) on Mar 30, 2006 at 21:53 UTC |
In Section
Meditations