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

w3m arrow bindings in mime-view



I've enabled mime-w3m, which is very helpful when I get e-mail with no plaintext part but... I hate the keybindings for the arrow keys, I mean really hate it, like "what were they thinking?" hate it.

sclang-mode [1] uses w3m buffers to render HTML help files, and I can customize the arrow key behavior this way in .emacs:

(eval-after-load "w3m"
 '(progn
 (define-key w3m-mode-map [left] 'backward-char)
 (define-key w3m-mode-map [right] 'forward-char)
 (define-key w3m-mode-map [up] 'previous-line)
 (define-key w3m-mode-map [down] 'next-line)))

But this has no effect on the w3m behavior in mime-view mode.

What to do?
James

[1] sclang-mode is a front-end for SuperCollider: http://supercollider.sourceforge.net


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks