[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 <tliko...@iki.fi> 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:
>
> http://www.emacswiki.org/emacs/ergo-movement-mode.el
>
> ---------------
> 1. http://xahlee.org/emacs/ergonomic_emacs_keybinding.html
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:
http://code.google.com/p/ergoemacs/wiki/adoption
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)
Xah
∑ http://xahlee.org/
☄
- Re: Improving Emacs (was: usability problem of emacs describe-mode),
Xah Lee <=