Vimperator has the key "H" to page back, but how can I view a list of history for the current tab and go back to a selected one?


The jumps command

You can use the :jumps command (or just :ju). This brings up a numbered "jump list" with the tab's history. You can then navigate to the urls using hints or the mouse.

If hint keys f and F aren't working

When I just tested this on the version of Vimperator on my laptop, normal hints using f or F weren't working for some reason. I'm sure they should (and they do on Pentadactyl), so hopefully they'll work for you. If they don't, you can always use the ; family of extended hint bindings instead:

  • ;o open hint in current tab
  • ;t open hint in new tab
  • ;b open hint in new background tab
  • ;w open hint in new window

and so forth...

You can also use the numbers as arguments to Ctrl-o and Ctrl-i. So if you want to jump to #3 on the jump list, you can just type 3Ctrl-o.

Creating a key binding

If you want a key binding for the jump list, you can define one by adding the following line to your $HOME/.vimperatorrc file:

map <C-j> :jumps<CR>

This defines Ctrl-j as a shortcut for the jump list. It only works in normal/visual mode, ie. not while you're in a text area, have a menu open, etc.

  • :jumps not working for my Firefox. Nothing pops up, no reaction, seemingly Vimperator ignores the command. – user373230 Oct 29 '16 at 4:08
  • 1
    @Chinggis6 Yeah, it seems to be broken ATM. Probably by the latest changes in FF. It still works on the old version on my Windows laptop (vimperator 3.9, FF 31), but when I test it on my desktop FF ESR (vimperator 3.15, FF 45), I get a "TypeError: is not iterable" error. It's still working in Pentadactyl, though. – pyrocrasty Oct 30 '16 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.