From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rishabh Jain Newsgroups: gmane.emacs.help Subject: Re: Remapping navigation Keys in EMACS Date: Wed, 12 Apr 2017 08:11:20 -0400 Message-ID: <296b4d29-257e-b987-52c7-2656f17cdfff@gmail.com> References: <8760ia908v.fsf@mail.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1491999125 28626 195.159.176.226 (12 Apr 2017 12:12:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2017 12:12:05 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0 To: Stefan Huchler , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 12 14:12:01 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyH7v-0007Kb-Sy for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 14:11:59 +0200 Original-Received: from localhost ([::1]:44010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyH81-0002nR-NU for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 08:12:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyH7N-0002mB-4O for help-gnu-emacs@gnu.org; Wed, 12 Apr 2017 08:11:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyH7J-0002uC-TP for help-gnu-emacs@gnu.org; Wed, 12 Apr 2017 08:11:25 -0400 Original-Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:36820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyH7J-0002tY-NO for help-gnu-emacs@gnu.org; Wed, 12 Apr 2017 08:11:21 -0400 Original-Received: by mail-qk0-x22e.google.com with SMTP id d131so20971104qkc.3 for ; Wed, 12 Apr 2017 05:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ReI1vlAIIGUm2s48Y9tdRSb6ZNFn2OxI+0yY8g/e5XI=; b=tp/JtWwARXy3KI1j/cYwMpIebn8uCb4dkydEn763x8JnzHqajCKPtT044y1iUm9Vgb 8NMrX3DvuR0g78R5GaSU0Zr8ceVBguy7TnxBCIppMakDwlfEnjXC4+6yDt41stc7xo+I mD1rHQqMe/PHBL5OpXgMPuNCcdiIJm9gCBg06Pwka/pZXISKwmZKpjftOpfQmtybqnNr flCcRczoqs+/VaOOGiCkyQ+AeX+5/LPu2mkGW44z4MtwPMe1ulKatcWaRqz0kKkcCB5A bNE//uhMu0hP7DQL7nCxmDtbXftsKl9aXv91rsy6qKT+4RvbmdRk95hyXFP1ExZhHaf8 +Rlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ReI1vlAIIGUm2s48Y9tdRSb6ZNFn2OxI+0yY8g/e5XI=; b=q8UGx7aXHOtQR9qLUjO1WfOy48hR98rOwktqKABH1uvLcggWQZ/LZ7LVus+b4bzLWI yAJS/k+9Ec/88OClQOqwgNIQjMMg0ouzsn6BTJ1Iy7TRhkmCICJH0ywd0627A5VPnlLT S/h0t7/lLLh14hlmRQVJt4tAnn8dSsBmRTS2qlu3zeN9gzWBdJdThKIZIl7Ur+cSZqa7 SoSd8qNCfHGKZ517R2T1+rZyxewDaPFTljEkdHb6GnsWav0BKCTmpoF5EaLTVy/XFyG5 pL3u/Nu9d8BOyOhPYGZBG983lf2BFg0J/rf13xv1NBREXmpgpaGz50gyPALSYHBv2aAh TmAA== X-Gm-Message-State: AFeK/H1EN9v4sdu8lmFzdY6eSU6sOy26axGHV8N4ziF4I8xKqUg813Is3w08pfP1Bua2Yw== X-Received: by 10.55.23.216 with SMTP id 85mr54018791qkx.157.1491999081249; Wed, 12 Apr 2017 05:11:21 -0700 (PDT) Original-Received: from [10.76.56.15] (ncsu-nat1-3.ncstate.net. [152.7.224.3]) by smtp.gmail.com with ESMTPSA id c18sm10835566qkj.33.2017.04.12.05.11.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 05:11:20 -0700 (PDT) In-Reply-To: <8760ia908v.fsf@mail.de> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112753 Archived-At: Hi Stephan, Thanks for the tips. I'll look up the ergoemacs. Using the 'o' and 'u' (or q, r for WASD map) makes sense. That might be better. The mouse sits on my right side, which is another reason why, the remapping was to keep the left hand open for any other commands. But, glad to know it works. Thanks, RJ On 4/11/2017 4:07 PM, Stefan Huchler wrote: > Hi, > > keychords are no real good idea, I use a modal mode (xah-fly-keys) and > there a jkli binding is active. (I even bound other stuff on the arrow > keys :) ). > > But you dont have to use Ctrl for it. Also ergoemacs mode is a worth > looking there also this jkli is there. word wise you use u and o and so > on. > > Hope that helps you. > > p.s. > > I think using right hand keys for that makes sense, cause you probably > dont use mouse and arrow keys at the same time. either you scroll with > the mouse or the keys but not both. so if you use the mouse for lets say > scrolling, you have other commands on the left hand at the same time. > > > Rishabh Jain writes: > > > >> Hi: >> >> I'm just starting up with EMACS, and am curious if anyone has mapped >> their navigation keys (C-f,b,p,n, etc) to WASD format (like games do >> for navigation). If you have, please share your experience as well. >> >> W - up, A - left, S - down, D - right >> >> Here's how I want to remap: >> >> * C - (a,d) -> character wise left and right >> * C - (w,s) -> line wise up and down >> * M - (a,d) -> word wise left and right >> * M - (w,s) -> paragraph wise up and down >> * C - M - (a,d) -> (sentence wise left, right) >> * C - M - (w,s) -> (move current line up/down) >> >> My biggest concern is that if this remapping would really impede my >> EMACS experience in time - for eg. using packages, etc. At this time, >> I'm about 1 week old user, and primarily code in Python, and Matlab, >> and work regularly in Latex. For the last reason, I'm really looking >> forward to using org-mode. >> >> Thanks again for taking the time, >> >> Regards, >> >> RJ >