Is there a back-"button" in w3m?

12,959

Solution 1

It's B (Shift-B). It's the shortcut for previous buffer in w3m jargon.

See the Manual or a short introduction here.

Solution 2

the default Shift-b actually closes the current buffer so you can't go forward in history again. You can instead map your own hotkeys. e.g using H and L to go back and fort in the current buffers history

$EDITOR ~/.w3m/keymap

############################ Switch to the next buffer (NEXT)
keymap  L       NEXT
############################ Switch to the previous buffer (PREV)
keymap  H       PREV

Solution 3

w3m keeps each page in a buffer, press s to see a list of buffers. This allows you to select the previous, it has the benefit of not closing the current buffer (unlike B).

Unrelated but I've just discovered that Insert brings up a useful menu, including s for select buffer.

Share:
12,959

Related videos on Youtube

OliverS
Author by

OliverS

Updated on September 17, 2022

Comments

  • OliverS
    OliverS almost 2 years

    Does w3m offer a keyboard shortcut to go back one page? I couldn't find anything in the man pages.

  • Uri Cohen
    Uri Cohen over 13 years
    The keyboard shortcuts can be found in /usr/share/doc/w3m-0.5.2/doc/MANUAL.html (or where ever your w3m is installed).
  • Gilles 'SO- stop being evil'
    Gilles 'SO- stop being evil' over 13 years
    Within w3m, press H to show the list of key bindings.
  • Olle Härstedt
    Olle Härstedt almost 7 years
    Related question: How could I assign F to going forward?