[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1.2 Moving from place to place in a page

Being able to use familiar Emacs movement bindings while browsing a web page probably fascinates you already. Believe it or not, there is more! Since we value your time, we have added keys to move the point, scroll the page or find links in a very fast way. When you master them, you will understand how handy they are.

The keys are assigned so that scroll commands can be called using shorter keystrokes than standard Emacs key bindings. And since places where you can input text are pretty specific in web pages (see section 3.8 Filling in HTML forms), most keys have special meanings and aren't assigned to self-insert-command anymore.

SPC
Scroll downwards. You may be used to this binding if you use the `more' or `less' commands, or Emacs's view-mode (w3m-scroll-up-or-next-url).

DEL
Scroll upwards. You may be used to this binding if you use the `less' command or Emacs's view-mode (w3m-scroll-down-or-previous-url).

>
Scroll to the left. The scroll step is given by the w3m-horizontal-scroll-columns variable, default 10 (w3m-scroll-left).

<
Scroll to the right. The scroll step is given by the w3m-horizontal-scroll-columns variable, default 10 (w3m-scroll-right).

.
Shift to the left (a fine level horizontal scrolling). The shift step is given by the w3m-horizontal-shift-columns variable, default 2 (w3m-shift-left).

,
Shift to the right (a fine level horizontal scrolling). The shift step is given by the w3m-horizontal-shift-columns variable, default 2 (w3m-shift-right).

M-l
Scroll horizontally so that the current position is centered (w3m-horizontal-recenter).

The w3m-mode major mode defines commands to move to various kinds of things; namely links, forms, and images (whether they are displayed or not).

Let's consider this simple example: suppose we want to search for a word on the widely-known Google search engine. Step one: open http://www.google.com in emacs-w3m. Step two: once the page is loaded, hit ]. Tadaa! The point has moved to the first form input in the page, you can now hit RET to enter something in it, and then C-c C-c to submit. Without this command, you would have had to move into the page using C-n, C-f and so forth, it would have been a real pain.

TAB
Move the point to the next link (an "anchor" in emacs-w3m lingo). More strictly speaking, move the point forwards to the nearest anchor.

M-TAB
S-TAB
Move the point to the previous anchor. More strictly speaking, move the point backwards to the nearest anchor (w3m-previous-anchor).

]
Move the point to the next form. More strictly speaking, move the point forwards to the nearest form (w3m-next-form).

[
Move the point to the previous form. More strictly speaking, move the point backwards to the nearest form (w3m-previous-form).

}
Move the point to the next image. More strictly speaking, move the point forwards to the nearest image (w3m-next-image).

{
Move the point to the previous image. More strictly speaking, move the point backwards to the nearest image (w3m-previous-image).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by TSUCHIYA Masatoshi on November, 3 2005 using texi2html