From: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo)
To: emacs-orgmode@gnu.org
Subject: Re: Alternative to arrow keys (more ergonomic)?
Date: Thu, 12 Jun 2014 10:41:47 -0400 [thread overview]
Message-ID: <87y4x2kx5g.fsf@gmail.com> (raw)
In-Reply-To: trinity-d4dcf72d-bb30-434f-a6b1-ad81e2485273-1402581640750@3capp-webde-bs28
Hi Martin,
"Martin Beck" <elwood151@web.de> writes:
> I'm using Shift+RightArrow and Shift+LeftArrow quite often to change
> the scheduled or deadline dates of a task in my agenda view. As I have
> a normal large keyboard (where the arrow keys are between the
> alphanumeric block and the numeric keypad like here:
> http://www.microsoft.com/hardware/_base_v1//products/wireless-desktop-3000/mk_
> wd3000_otherviews01.jpg ). So the arrow key is difficult to reach and
> forces me to leave the QUERTZ keys with the right hand. Can I define
> an additional key or key combination which does the same thing like
> RightArrow and is easier to reach? Which one would be available in the
> agenda view?
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.
Best,
Jorge.
PS: http://i.stack.imgur.com/2kbJv.jpg
http://www.splitreason.com/Product_Images/4e3477bef139.jpg
PPS: to be fair some very fast typists use CapsLock
(http://seanwrona.com/typing.php)
next prev parent reply other threads:[~2014-06-12 14:42 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 [this message]
2014-06-12 14:45 ` Thorsten Jolitz
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=87y4x2kx5g.fsf@gmail.com \
--to=jorge.a.alfaro@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).