in reply to .vimrc for perl programmers
and so on. The cool thing is that you can have the comma-command use as many characters as possible and reuse commands. So, I have ",s" do one thing and ",sf" do another. If you don't hit the 'f' in a second, vim will execute ",s".nmap ,c :!perl -wc %^M nmap ,t :!prove -wlv t/*.t^M nmap ,ac :'a,.s/^/#/gi^M:nohl^M nmap ,auc :'a,.s/^#//gi^M:nohl^M
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: .vimrc for perl programmers
by cees (Curate) on Mar 30, 2006 at 22:07 UTC | |
Re^2: .vimrc for perl programmers
by unobe (Scribe) on Apr 04, 2006 at 08:56 UTC | |
Re^2: .vimrc for perl programmers
by Anonymous Monk on Mar 04, 2013 at 22:31 UTC |