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

Re: w3m arrow bindings in mime-view



Hi,

> 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?

I think you need to define keys in w3m-minor-mode-map.
-- 
Kazuhiro Ito