all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* w3m scroll page
@ 2007-04-14 20:42 Davidcollins001
  2007-04-19 12:23 ` Davidcollins001
  0 siblings, 1 reply; 2+ messages in thread
From: Davidcollins001 @ 2007-04-14 20:42 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I have just started using w3m, and it has really come into its now
since I have just set up a server without X also I don't like the
keybinding in lynx.

Anyway, when I installed the keymap was set to lynx, I have since
changed that to info which is a lot more natural for me, especially as
I have been using conkeror too. What I would like to know is if there
is a way to map the j and k keys to the lynx binding for J and K? That
is the page scrolls like using the less pager with j and k.

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: w3m scroll page
  2007-04-14 20:42 w3m scroll page Davidcollins001
@ 2007-04-19 12:23 ` Davidcollins001
  0 siblings, 0 replies; 2+ messages in thread
From: Davidcollins001 @ 2007-04-19 12:23 UTC (permalink / raw)
  To: help-gnu-emacs

Davidcollins001@gmail.com wrote:
> What I would like to know is if there
> is a way to map the j and k keys to the lynx binding for J and K? That
> is the page scrolls like using the less pager with j and k.

For completeness I figured out how to do it. The keymap examples that
I found didn't work and w3m didn't like the keymap function. Anyway,
here are the lines for the .emacs-w3m file:

(define-key w3m-mode-map "j" (lambda () (interactive) (scroll-up 1)))
(define-key w3m-mode-map "k" (lambda () (interactive) (scroll-down 1)))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-19 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-14 20:42 w3m scroll page Davidcollins001
2007-04-19 12:23 ` Davidcollins001

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.