jorge.a.alf...@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