From: Lennart Borgman <lennart.borgman@gmail.com>
To: Alessandro Stamatto <astamatto@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to change Viper-Mode behavior ?
Date: Sat, 29 May 2010 22:53:48 +0200 [thread overview]
Message-ID: <AANLkTikcUV03QRPtzTH4igaQIOd88NWqOjX_YRNi5cTi@mail.gmail.com> (raw)
In-Reply-To: <AANLkTilaPC5SPtlnwrUjRFfRUWCQcyaY_AMTAlerdcYr@mail.gmail.com>
On Fri, May 28, 2010 at 11:44 PM, Alessandro Stamatto
<astamatto@gmail.com> wrote:
> Hi,
>
> I'm using Viper-Mode in emacs. And i don't like the movement keys of Vi... I
> would like to do those simple customizations in it:
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
> change the movement keys to: i -> up , j -> left, k -> down , l -> right .
> change the 'Esc' key behavior to: If in Command Mode change to Insert Mode
> as if i had pressed the 'i' key.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
> Is there an easy way to do those customizations? If yes, how can i do it?
I think those movement keys in vi where chosen to optimize speed.
Normally you rest your fingers on those keys (i.e h j k l).
I don't think it takes long to get use to them.
And there are other places outside Emacs where it is useful to know
those keys (I use some of it in gmail for example).
Do you really want to change the keys?
If you do then just look for the keymaps where they are bound. Maybe
some of it is hardcoded because the request to be able to move them is
quite weak.
next prev parent reply other threads:[~2010-05-29 20:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-28 21:44 How to change Viper-Mode behavior ? Alessandro Stamatto
2010-05-29 20:53 ` Lennart Borgman [this message]
2010-05-30 2:19 ` ahei
2010-05-30 5:32 ` Alessandro Stamatto
2010-05-30 9:53 ` Lennart Borgman
[not found] ` <mailman.7.1275197567.19569.help-gnu-emacs@gnu.org>
2010-05-31 7:44 ` José A. Romero L.
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=AANLkTikcUV03QRPtzTH4igaQIOd88NWqOjX_YRNi5cTi@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=astamatto@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.
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).