From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Alternative to arrow keys (more ergonomic)? Date: Thu, 12 Jun 2014 16:45:43 +0200 Message-ID: <8738fa6vag.fsf@gmail.com> References: <87y4x2kx5g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv6Ga-00014x-2t for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 10:46:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv6GR-0002YB-IZ for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 10:46:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:50212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv6GR-0002Y3-Cm for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 10:46:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wv6GO-0007DC-KP for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 16:46:00 +0200 Received: from e178191110.adsl.alicedsl.de ([85.178.191.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jun 2014 16:46:00 +0200 Received: from tjolitz by e178191110.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jun 2014 16:46:00 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo) writes: Hi, > I have the (totally useless) CapsLock key of my keyboard remapped to > Hyper, which allows me to use an extra modifier for emacs commands. > > For your case after you have a Hyper key you could "make" your own arrow > keys without your right fingers moving away from J K L ; where they > belong: > > #+BEGIN_SRC emacs-lisp > (global-set-key (kbd "H-i") 'previous-line) > (global-set-key (kbd "H-k") 'next-line) > (global-set-key (kbd "H-j") 'left-char) > (global-set-key (kbd "H-l") 'right-char) > #+END_SRC > > and for org: > > #+BEGIN_SRC emacs-lisp > (define-key org-mode-map (kbd "H-S-i") 'org-shiftup) > (define-key org-mode-map (kbd "H-S-k") 'org-shiftdown) > (define-key org-mode-map (kbd "H-S-j") 'org-shiftleft) > (define-key org-mode-map (kbd "H-S-l") 'org-shiftright) > #+END_SRC > > In Linux I use xmodmap for the remapping of the CapsLock key. While you > are at it you can also remap the Alt key to Cntrl and the Super to Meta, > to that you press C- commands with your left thumb and not with your > left pinky, avoiding the common emacs pinky problem. Just out of curiosity - did you try this on the console (without X) too? -- cheers, Thorsten