info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: less key hits


From: Tassilo Horn
Subject: Re: less key hits
Date: Tue, 05 Dec 2006 22:56:43 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Gary Wessle <phddas@yahoo.com> writes:

Hi Gary,

> ofter I find that I have to write the same string over many times
> while programming in c++ mode.
> is it common practice to hot key the text so that by hitting the hot
> key it enters the text in the buffer? or how most of you do it?

I would define a keyboard macro.

See 

,----[ (info "(emacs)Keyboard Macros") ]
|    A "keyboard macro" is a command defined by an Emacs user to stand
| for another sequence of keys.  For example, if you discover that you
| are about to type `C-n M-d C-d' forty times, you can speed your work
| by defining a keyboard macro to do `C-n M-d C-d', and then executing
| it 39 more times.
`----

If you need this macro over and over you can even save it.

Bye,
Tassilo
-- 
A child of five could understand this! Fetch me a child of five!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]