Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Gary Wessle <phddas@yahoo.com>
Subject: less key hits
Date: 06 Dec 2006 08:40:59 +1100	[thread overview]
Message-ID: <m38xhmyqac.fsf@localhost.localdomain> (raw)

Hi

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?

example:
often I write 
#include <string>
using std::string;

which takes few key strokes even with Alt-/ completion
helping. instead I want to just hit say "Alt-s" s for string and the
pointer moves to the top of the buffer, enters the 2 lines for me.

any idea how this is done?

thanks

             reply	other threads:[~2006-12-05 21:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 21:40 Gary Wessle [this message]
2006-12-05 21:56 ` Tassilo Horn
2006-12-16  0:06 ` Kai Großjohann
     [not found] ` <mailman.1948.1166228107.2155.info-gnus-english@gnu.org>
2006-12-16 17:22   ` Kai is back [Was: less key hits] martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m38xhmyqac.fsf@localhost.localdomain \
    --to=phddas@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).