help-gnu-emacs
[Top][All Lists]
Advanced

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

Saving and recalling registers, using the same key sequence ?


From: jonetsu
Subject: Saving and recalling registers, using the same key sequence ?
Date: Wed, 20 Mar 2019 13:44:39 -0400

Is it possible to save a text register and use it in the exact same way
at a later time ?  

For instance, I define very simple useful things that I recall by doing:

C-x r i i  ;; inserts : #include <>
C-x r i u  ;; inserts : using std::;
C-x r i n  ;; inserts : << '\n';

I would like to have these always ready when editing C++ code.  They
could be globally defined, or bound to the editing of C++ files, I
wouldn't mind.

Thanks.





reply via email to

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