[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: idea: w3m-view-next-url, w3m-view-previous-url
- From: "Robert D. Crawford" <rdc1x@xxxxxxxxxxx>
- Date: Thu, 16 Oct 2008 20:06:50 -0500
- X-ml-name: emacs-w3m
- X-mail-count: 10404
- References: <878wsopcrk.fsf@xxxxxxxxxxx>
> Say, how about making
> n do what TAB RET does,
> p do what Shift-TAB RET does,
> i.e., jump to and enter the next or previous link, all in one
> keystroke. You could call them w3m-view-next-url,
> w3m-view-previous-url. Arguments 5 would mean 5th URL away from here.
> 5 n == -5 p, etc.
I named them for you, just in case it does not make it into the
program. Just dump these into your .emacs-w3m file.
(defun jidanni-w3m-next-anchor-and-view (arg)
"Jumps to the next arg anchor and views it."
(defun jidanni-w3m-previous-anchor-and-view (arg)
"Jumps to the previous arg anchor and views it."
(define-key w3m-mode-map "n" 'jidanni-w3m-next-anchor-and-view)
(define-key w3m-mode-map "p" 'jidanni-w3m-previous-anchor-and-view)
Robert D. Crawford rdc1x@xxxxxxxxxxx