32

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

OliverS
  • 433

3 Answers3

37

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

See the Manual or a short introduction here.

Archemar
  • 31,554
4

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

gotbletu
  • 156
2

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.