Live data from Hacker News

Vimperator: a Vim-like Firefox

vimperator.org

11–20 of 100 posts

Re: Vimperator: a Vim-like Firefox

#11

The idea sounds intriguing, but I fail to see how `:back` is easier or faster than `cmd+LeftArrow` or how `:open url.com` is faster than `cmd+l url.com` or `cmd+t url.com` What is the killer feature here?

>"What is the killer feature here?"

The killer feature is being able to navigate around the web without using a mouse. Some people don't like switching between the keyboard and the mouse and would rather use their keyboard most/all of the time. That's who Vimperator is for.

With the examples you gave there's already good keyboard shortcuts for those actions, but in most browsers there aren't decent keyboard shortcuts for selecting links. You can use the tab key to cycle between links, and some websites have extra support for keyboards (for example, Google allows you to navigate through search results using arrow keys), but tools like Vimperator allow you to select any visible link with a small number of keypresses.

Here's a simple example, showing one way to navigate to a link posted on HN:

https://www.youtube.com/watch?v=hy2as2mBrMM

Re: Vimperator: a Vim-like Firefox

#12
post #8

The idea sounds intriguing, but I fail to see how `:back` is easier or faster than `cmd+LeftArrow` or how `:open url.com` is faster than `cmd+l url.com` or `cmd+t url.com` What is the killer feature here?

Usually you map single characters to commands like that in your .vimperatorrc

Is that a joke or can you actually do that?

Re: Vimperator: a Vim-like Firefox

#13

Who develops vimperator these days? Some of their primary maintainers moved onto a separate project called Pentadactyl[0] a few years ago. [0]: http://5digits.org/pentadactyl/

Pentadactyl isn't the successor to Vimperator, it's just a similar extension with a different feature set and some former Vimperator developers working on it. From what I understand, Vimperator continued to be developed after Pentadactyl was born. Long ago I compared the two and decided to use Pentadactyl because it seemed to be more powerful, but I'm not sure how they compare these days.

A much bigger problem is that Firefox is moving (has moved?) away from XUL and XPCOM, a move which permanently breaks extensions like Pentadactyl (and Vimperator too).

Already Pentadactyl is broken for me on the latest versions of Firefox and Pale Moon (though I can't say for sure that it's because of XPCOM and XUL or for some other reason).

In addition, the Pentadactyl nightly builds aren't signed, so if I want Firefox to allow them to be installed I have to run the Firefox Developer build and make a global preference change to allow all unsigned extensions to be installed.

This breaking of my favorite extensions on Firefox has made me move to Pale Moon, where Pentadactyl was working until recently. Now that Pentadcatyl doesn't even work on Pale Moon anymore, I'm not sure what to do.

Re: Vimperator: a Vim-like Firefox

#14

The idea sounds intriguing, but I fail to see how `:back` is easier or faster than `cmd+LeftArrow` or how `:open url.com` is faster than `cmd+l url.com` or `cmd+t url.com` What is the killer feature here?

You can just press `o' to open instead, plus you can add your own key bindings. My favorite feature is probably the buffer searching if you have a lot of tabs open, and the link highlighter when you press `f' or `;’.

Re: Vimperator: a Vim-like Firefox

#15
post #8

Earlier quoted context omitted.

Usually you map single characters to commands like that in your .vimperatorrc

Is that a joke or can you actually do that?

You can. I used to be a Vimperator user few years ago. Left because I felt it made browser a bit slow.

Re: Vimperator: a Vim-like Firefox

#16

The idea sounds intriguing, but I fail to see how `:back` is easier or faster than `cmd+LeftArrow` or how `:open url.com` is faster than `cmd+l url.com` or `cmd+t url.com` What is the killer feature here?

You can also use `H` for back and `o` for opening the URL prompt, among others. That requires you to be in the insert mode for typing in input boxes or interacting with the website you're on via keyboard shortcuts though.

Re: Vimperator: a Vim-like Firefox

#17
post #8

Earlier quoted context omitted.

Usually you map single characters to commands like that in your .vimperatorrc

Is that a joke or can you actually do that?

yes, you can definitely do that. I'm using the chrome version (vimium) but have back mapped to capital h (for history)

Re: Vimperator: a Vim-like Firefox

#18
post #16

The idea sounds intriguing, but I fail to see how `:back` is easier or faster than `cmd+LeftArrow` or how `:open url.com` is faster than `cmd+l url.com` or `cmd+t url.com` What is the killer feature here?

You can also use `H` for back and `o` for opening the URL prompt, among others. That requires you to be in the insert mode for typing in input boxes or interacting with the website you're on via keyboard shortcuts though.

I haven't used vimperator for a long time, but in petadactyl you can use C-o and C-i to go back and forth, respectively. The key bind matches pretty well to what it is in Vim too.

Re: Vimperator: a Vim-like Firefox

#19

The idea sounds intriguing, but I fail to see how `:back` is easier or faster than `cmd+LeftArrow` or how `:open url.com` is faster than `cmd+l url.com` or `cmd+t url.com` What is the killer feature here?

What? Do the docs on the page really say that[0]?

':back' is mapped to 'H' -- in correspondence to the usual Vi/Vim paradigm to move the cursor with the home-row keys, hjkl. ':open' is naturally mapped to 'o' and drops you into a tab-completable shell. ':tabopen' -> 't' and so on.

The key part, as in Vim, are /not/ the mnemonic, highly effective shortcuts. Rather, it's the modal workflow that Vim and it's spritual descendants bring to the table. I'll leave it at that (sounding like a damn preacher already).

[0] Now that I've looked at it, it becomes clear that they're selling rather directly to Vim-acolytes. Pity, perhaps.

Post reply on HN