www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/23/12:46:01

Date: Tue, 23 Mar 1999 12:45:57 -0500
Message-Id: <199903231745.MAA16878@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3.0.1.16.19990323110427.2eff4888@shadow.net> (message from Ralph
Proctor on Tue, 23 Mar 1999 11:04:27)
Subject: Re: On keboard macros--Thanks, Eli
References: <fycflpbqrpbz DOT f8zkbx1 DOT pminews AT nntp DOT generation DOT net>
<fycflpbqrpbz DOT f8zkbx1 DOT pminews AT nntp DOT generation DOT net> <3 DOT 0 DOT 1 DOT 16 DOT 19990323110427 DOT 2eff4888 AT shadow DOT net>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Would you mind telling just what few keyboard macros YOU DO USE?

I have a macro that creates an empty perl file (with #! and
perl-mode), and another for a template HTML file, with the cursor
positioned where the title goes.  But, these are programmed in elisp
and attached to a key (same key - it guesses based on the file name).

What I use the keystroke macros for is rearranging code.  For example,
I do "ls" in a window and cut-n-paste it into a source file, then
fix-up the first line while recording.  Then, a Ctrl-U and a playback,
and it fixes up all the rest of the lines.  I also do search-fixups
this way, as you can record the search too.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019