[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-w3m question
From: |
Xah |
Subject: |
Re: emacs-w3m question |
Date: |
Tue, 28 Oct 2008 11:40:56 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Oct 27, 2:36 pm, Richard Riley <rileyrg...@gmail.com> wrote:
> henry atting <att...@literaturlatenight.de> writes:
> > Zitat - Francis Moreau * Mo Okt 27 2008 um 21:45 -
>
> >> Hello,
>
> >> Is there a fast way to jump to the 4th link (for example) that Google
> >> proposes after a search ? Currently I'm using C-s and start typing the
> >> proposed title.
> > C-u 4 <down>
> Is there a solution if we have different key bindings for cursoring? e.g
> I want the cursor to roam freely for selective copying to clipboard so
> down does not move to the next link.
>
> e.g I have
>
> (setq w3m-key-binding (quote info))
Here's what i do:
(add-hook 'w3m-mode-hook
(lambda ()
(define-key w3m-mode-map (kbd "<up>") 'previous-line) ; was w3m-
previous-anchor. Use Shift+Tab.
(define-key w3m-mode-map (kbd "<down>") 'next-line) ; was w3m-next-
anchor. Use Tab.
(define-key w3m-mode-map (kbd "<left>") 'backward-char) ; was w3m-
view-previous-page. Use B.
(define-key w3m-mode-map (kbd "<right>") 'forward-char) ; was w3m-
view-this-url. Use Enter.
))
i think it is good to make this default. More intuitive for emacs
users.
PS i noticed that w3m is 2 or 3 times slower than a full featured
browser. I have w3m in text only mode. I have a function that looks up
webpage in both Opera and w3m in emacs. The opera almost always
finished loading the page 3 or more times faster than w3m with emacs.
(the Opera has image, css on. My w3m has images off.)
Xah
∑ http://xahlee.org/
☄