From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alessandro Stamatto Newsgroups: gmane.emacs.help Subject: Re: How to change Viper-Mode behavior ? Date: Sun, 30 May 2010 02:32:37 -0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6d977226ec9e30487c91182 X-Trace: dough.gmane.org 1275197621 14180 80.91.229.12 (30 May 2010 05:33:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 May 2010 05:33:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: ahei Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 30 07:33:40 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OIb9X-0000E5-Cp for geh-help-gnu-emacs@m.gmane.org; Sun, 30 May 2010 07:33:39 +0200 Original-Received: from localhost ([127.0.0.1]:44804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIb9W-0002vU-96 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 May 2010 01:33:38 -0400 Original-Received: from [140.186.70.92] (port=49038 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIb8c-0002um-Hi for help-gnu-emacs@gnu.org; Sun, 30 May 2010 01:32:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIb8Z-0004fn-FG for help-gnu-emacs@gnu.org; Sun, 30 May 2010 01:32:40 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:36230) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIb8Z-0004fS-7C for help-gnu-emacs@gnu.org; Sun, 30 May 2010 01:32:39 -0400 Original-Received: by wyb39 with SMTP id 39so326750wyb.0 for ; Sat, 29 May 2010 22:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=iAnztZL3/R7MScZOOiSx/gQvLC6MAo1UyMiKgWsvi9Y=; b=bWS2njRnV8m1fxeEo7einmQgXHNwzoa/Krf3u6ux6+NYPosEHNkD0yvgvk6PitNBbs 7FKMwq9TbnRAHtK8V+59DgSpLuR0OFwqo7YS1hKlC90w4W5Ek9OGrAfLfJf6gVquDsGv I3RF8oBx+9DcVK4bOEyAAYTORLR2el9ldwJAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wdnqF2B2rmUTKVgJ85MZq1PXwJ/62GDKN+MmsyphaN0qXM+ckKUSsYFVj5Gteg33p5 I/e8gTPe1qfQB48mazFRB2dgI8GrjW2HiCm4ZTx9/8kUCDWNUj9vaGlR6mGWqxZk9pBM gxGh3sYlZrV0oI0ubVZN9rs4AzPTk/NfqEtcI= Original-Received: by 10.216.87.4 with SMTP id x4mr3074938wee.86.1275197557491; Sat, 29 May 2010 22:32:37 -0700 (PDT) Original-Received: by 10.216.93.17 with HTTP; Sat, 29 May 2010 22:32:37 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73794 Archived-At: --0016e6d977226ec9e30487c91182 Content-Type: text/plain; charset=ISO-8859-1 Alright, you guys convinced me! Im gonna get used to the usual keybinds. I love emacs, but i read in some blogs about viper-mode for emacs and wanted to experiment the modal keybinds. Thanks for the answers and sorry to disturbing you guys. Best Regards, Alessandro Stamatto. 2010/5/29 ahei > I agree this, and I want to know, why you want to use Viper mode? Delete > text more conveniently. BTW viper-mode already support up down left right. > > > On Sun, May 30, 2010 at 4:53 AM, Lennart Borgman < > lennart.borgman@gmail.com> wrote: > >> On Fri, May 28, 2010 at 11:44 PM, Alessandro Stamatto >> 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. >> >> > --0016e6d977226ec9e30487c91182 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Alright, you guys convinced me! Im gonna get used to the usual keybinds.
I love emacs, but i read in some blogs about viper-mode for emacs and = wanted to experiment the modal keybinds.

Thanks for the answers and= sorry to disturbing you guys.

Best Regards, Alessandro Stamatto.

20= 10/5/29 ahei <ah= ei0802@gmail.com>
I agree this, and I want to know, why you want to use Viper mode? Delete te= xt more=A0conveniently. BTW viper-mode already support up down left right.<= div>


On Sun,= May 30, 2010 at 4:53 AM, Lennart Borgman <lennart.borgman@gmail.c= om> wrote:
<= div>On Fri, May 28, 2010 at 11:44 PM, Alessandro Stamatto
<astamatto@gmai= l.com> wrote:
> Hi,
>
> I'm using Viper-Mode in emacs. And i don't like the movement k= eys of Vi... I
> would like to do those simple customizations in it:
> ----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------
> change the movement keys to:=A0=A0 i -> up , j -> left, k -> = down , l -> right .
> change the 'Esc' key behavior to:=A0 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?=A0 If yes, how can i = do it?


I think those movement keys in vi where chosen to optimize spee= d.
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.



--0016e6d977226ec9e30487c91182--