all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Saving and recalling registers, using the same key sequence ?
@ 2019-03-20 17:44 jonetsu
  2019-03-20 19:23 ` Óscar Fuentes
  0 siblings, 1 reply; 3+ messages in thread
From: jonetsu @ 2019-03-20 17:44 UTC (permalink / raw)
  To: help-gnu-emacs

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-21 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-20 17:44 Saving and recalling registers, using the same key sequence ? jonetsu
2019-03-20 19:23 ` Óscar Fuentes
2019-03-21 14:20   ` jonetsu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.