[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improving Emacs (was: usability problem of emacs describe-mode)

From: Xah Lee
Subject: Re: Improving Emacs (was: usability problem of emacs describe-mode)
Date: Sun, 1 Mar 2009 15:34:35 -0800 (PST)
User-agent: G2/1.0

On Feb 26, 11:33 am, Teemu Likonen <address@hidden> wrote:
> Anyway, I find your ergonomic Emacs keybindings[1] interesting, and it's
> nice that there is code available.

Thank you.

> I found the keybindings too
> intrusive, though, so I implemented my own map which only changes
> certain cursor movement keys. It's a global minor mode with its own mode
> map so it can be turned on and off easily. The code is here:
> ---------------
> 1.

I'd appreciate it if you mention “Inspired by Xah Lee's Ergoemacs
keybindings”, possibly with a link.

For those finding the convertion too much, you can also start with
simpler ones, with elisp code given here:

The simplest one is start with this:

;; kicking the habit
(global-unset-key (kbd "C-b")) ; backward-char
(global-unset-key (kbd "C-f")) ; forward-char
(global-unset-key (kbd "C-p")) ; previous-line
(global-unset-key (kbd "C-n")) ; next-line
(global-unset-key (kbd "C-SPC")) ; set-mark-command

;; Single char cursor movement.
(global-set-key (kbd "M-j") 'backward-char)
(global-set-key (kbd "M-l") 'forward-char)
(global-set-key (kbd "M-i") 'previous-line)
(global-set-key (kbd "M-k") 'next-line)

;; set mark
(global-set-key (kbd "M-SPC") 'set-mark-command)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]