Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Development Speed and Productivity

by gregorovius (Friar)
on Nov 25, 2000 at 04:10 UTC ( [id://43271]=note: print w/replies, xml ) Need Help??


in reply to Development Speed and Productivity

I use Xemacs, and am very fond of its keyboard macros feature. You can search for substrings or regexps within your keyboard macro and do things like converting a list of names into a list of variable assignments, in one keystroke, saving lots of typing time.
Ctrl-x-( # start macro recording Ctrl-x-) # end macro recording Ctrl-x-e # execute macro Ctrl-100 Ctrl-x-e #execute macro 100 times

Replies are listed 'Best First'.
Re: Re: Development Speed and Productivity
by Petruchio (Vicar) on Nov 28, 2000 at 12:07 UTC
    This is indeed handy, and vi folks should know how to do this too. In vim (my vi of choice), it goes like this:

    qa # start recording to buffer a; # your choice of buffers: [0-9a-zA-Z"] q # end macro recording @a # execute macro a 100@a # execute macro a 100 times

    Same thing, really... only fewer keystrokes. {grin, duck, run}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://43271]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2024-04-18 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found