unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Dziulko <dziulko@klaatu.canisius.edu>
Subject: Re: insert/overwrite-mode toggle
Date: Fri, 25 Oct 2002 08:19:32 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0210250814270.11012-100000@klaatu.canisius.edu> (raw)
In-Reply-To: <pyZt9.208041$Fw2.5714742@twister.austin.rr.com>

Start emacs and go to the *scratch* buffer. Press Control-q. Now hit your
insert key. You will see some weird characters, something like ^[[1~.
Remember those characters.  Then in you .emacs file, put in a line like:
(global-set-key "\e[1~" 'overwrite-mode)
where the [1~ are the characters you remembered, minus the first ^[.

Hope this helps.

Kevin



On Thu, 24 Oct 2002, CarlC wrote:

> I am wanting to have my insert key toggle between insert and overwrite. I
> imagine someone out there is already doing this? Thanks.
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>

  parent reply	other threads:[~2002-10-25 12:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-24 21:24 insert/overwrite-mode toggle CarlC
2002-10-24 22:19 ` Richard V. Molen
2002-10-25  0:23   ` Barry Margolin
2002-10-25 12:19 ` Kevin Dziulko [this message]
     [not found] <mailman.1035548430.6132.help-gnu-emacs@gnu.org>
2002-10-25 13:06 ` CarlC

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0210250814270.11012-100000@klaatu.canisius.edu \
    --to=dziulko@klaatu.canisius.edu \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).