all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Making Backspace Work Like VI
Date: Fri, 04 Dec 2009 21:08:47 +0100	[thread overview]
Message-ID: <hfbq8f$t31$1@ger.gmane.org> (raw)
In-Reply-To: 8bb27244-8fce-477a-8534-38c72930d48d@m26g2000yqb.googlegroups.com



deech <aditya.siram@gmail.com> writes:

> Ok, I found overwrite-mode which replaces text instead of inserting.
> But how do I make backspace move left instead of deleting?

Bind "backspace" to (backward-char).

e.g

(global-set-key (kbd "<backspace>") 'backward-char)

Yuck!

As a point I think its generally a bad idea to try and use the use cases
from one editor in another as before you know it you have a Frankenstein
editor which doesn't know what it is :-)

>
> thanks ...
> -deech
>
> On Dec 4, 1:09 pm, deech <aditya.si...@gmail.com> wrote:
>> Hi all,
>> In Vi, in insert mode, backspace does the same thing as the left
>> arrow, and every keystroke overwrites a character. Is there a similar
>> "replace mode" in emacs?
>>
>> thanks ...
>> -deech
>

-- 





  reply	other threads:[~2009-12-04 20:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-04 19:09 Making Backspace Work Like VI deech
2009-12-04 19:13 ` deech
2009-12-04 20:08   ` Richard Riley [this message]
2009-12-04 20:17   ` Giorgos Keramidas
2009-12-05  8:04     ` Kevin Rodgers
     [not found]     ` <mailman.12258.1260000313.2239.help-gnu-emacs@gnu.org>
2009-12-05 14:16       ` deech
2009-12-06 14:46         ` Kevin Rodgers
2009-12-08  5:10           ` Kevin Rodgers
     [not found]   ` <mailman.12204.1259957364.2239.help-gnu-emacs@gnu.org>
2009-12-04 21:37     ` deech
2009-12-05  3:04 ` LanX

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='hfbq8f$t31$1@ger.gmane.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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.