help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: w3m navigation


From: David Hansen
Subject: Re: w3m navigation
Date: Fri, 02 May 2008 22:18:42 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

On Fri, 2 May 2008 12:12:13 +0200 Lorenzo Isella wrote:

> However, every time I try to visit a new web page,  I have to modify
> the url of the current page, whereas I would like to be able to type
> in directly the url I would like to visit. I am sure that for someone
> experienced this has to be a one-liner in the .emacs file, or maybe
> there is something I am misunderstanding.

Is hitting C-k to much work?

(defun dh-w3m-goto-url ()
  (interactive)
  (let ((w3m-current-url ""))
    (call-interactively #'w3m-goto-url)))

(define-key w3m-mode-map (kbd "g") #'dh-w3m-goto-url)

seems to do it.

David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]