From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Alternative to arrow keys (more ergonomic)?
Date: Thu, 12 Jun 2014 16:45:43 +0200 [thread overview]
Message-ID: <8738fa6vag.fsf@gmail.com> (raw)
In-Reply-To: 87y4x2kx5g.fsf@gmail.com
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
next prev parent reply other threads:[~2014-06-12 14:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-12 14:00 Alternative to arrow keys (more ergonomic)? Martin Beck
2014-06-12 14:41 ` Jorge A. Alfaro-Murillo
2014-06-12 14:45 ` Thorsten Jolitz [this message]
2014-06-12 15:19 ` Jorge A. Alfaro-Murillo
2014-06-12 17:24 ` Thorsten Jolitz
2014-06-13 7:18 ` Martin Beck
2014-06-13 7:33 ` Martin Beck
2014-06-13 14:24 ` Jorge A. Alfaro-Murillo
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738fa6vag.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).