Live data from Hacker News

Vimium – A browser extension that provides Vim-style keyboard controls

vimium.github.io

161–170 of 214 posts

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#161
post #40

I once used Vimium and some bug caused the extension to permanently close my hard-earned ~500 tab collection. So while I feel like I lost a lot, I've never felt so much at peace since either.

If you can't remember all of those 500 tabs, did you really need them ?

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#162

I used Vimperator on Firefox about 10 years ago. Back then it was fantastic, but I think the add-on environment has changed in FF (WebExtensions) since then and add-ons aren't as powerful. I've used Vimium on Chrome. Every few years I get excited, install it, feel 10x more productive, and then a few days later uninstall it. As I recall, it doesn't work on the New Tab page. It doesn't work if the address bar is in foc…

Well, I never want the site's keybindings anyways. They are without a fault, always worse than the general-purpose navigation offered by the extension (I use Surfingkeys, but it's the same idea).

Unfortunately, the extension cannot always overpower site's key-bindings, and that's where it sucks.

However, there's one exception to that rule: every now and then I need to work with a VNC in the browser, and in that specific case Surfingkeys takes over and makes it unusable. Well... it's annoying, but, really all it takes is clicking the extension's icon next to the address bar, and then clicking it again once I'm done with the VNC.

And yes, not having access to browser's chrome (that the address bar and new tab etc.) is a disadvantage that's due to how browsers currently work is impossible to work around.

Extensions do offer a kind of substitute, but it can never be 100% (i.e. Surfingkeys have a way to input new URL or edit current URL w/o interacting with the address bar, or a way to select a tab w/o interacting with browser's chrome, but if you happen on a page like settings or something similar, the extension cannot work there).

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#163

Earlier quoted context omitted.

I have been using qutebrowser for some time now and it's pretty nice if you can accept having a browser without UBlock Origin and other extensions ranging from nice-to-have to obligatory. The main advantage and the reason and I can't get myself to switch to Firefox is that it's vim-UX is just flawless. It works amazingly well and is just magnitudes better than any Firefox or Chrome extension that adds vim-UX on top s…

+1 my thoughts exactly. It would be so nice if Firefox allowed tridactyl full keyboard control. With qutebrowser, having a proper control mode and an insert mode that work everywhere makes it so much easier to navigate.

Mozilla said they were happy to do that five years ago if we wrote the API. We started work on it here [1] but lost interest because there have always been more urgent things to do (and for me, the ctrl+comma escape hatch that gets you back to Tridactyl from anywhere in the browser is good enough).

I think honestly most of the work in getting such an API merged would be political since most of the people who approved it are no longer at Mozilla.

If anyone wants to pick it up I would be delighted to help.

[1]: https://github.com/tridactyl/keyboard-api

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#164
post #149

Earlier quoted context omitted.

I have been using qutebrowser for some time now and it's pretty nice if you can accept having a browser without UBlock Origin and other extensions ranging from nice-to-have to obligatory. The main advantage and the reason and I can't get myself to switch to Firefox is that it's vim-UX is just flawless. It works amazingly well and is just magnitudes better than any Firefox or Chrome extension that adds vim-UX on top s…

Qutebrowser seem to have some built-in support for adblocking, have you used that? I'm curious how it works. Tried it before, long long time ago, but found it to complex. But now after using Vimium for a while Qutebrowser actually seems very intuitive and not hard at all.

qutebrowser has support for host-based blocking, which is better than nothing but a far cry from element blocking like UBlock Origin does. For me, qutebrowser's ad-blocking is pretty hit-and-miss, which is why I'm longing for UBlock Origin haha.

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#166
post #102
post #98

Earlier quoted context omitted.

You crushed it Jez! I wish we could work on more projects together.

It was a great experience! Thanks for your code reviews and mentorship :) Not sure I'll have much time to work on OSS in the foreseeable future, but it would certainly be nice to work together again.

Thank you both. I have been minimizing mousing after injuring my shoulder. Vimium is a godsend to me

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#167

I used to be a loving VimFX [0] user. It had intelligent link hints (essentially, links it thinks you are likely to want, e.g. because they're big, get single-key shortcuts). The scrolling was actually native, as in equivalent to hitting the arrow keys. I don't think any of the other Vim emulator plugins ever replicated that. Vimium doesn't, Tridactyl doesn't, and Vim Vixen was horribly broken. Apparently VimFX still…

What do you miss about native scrolling? IMO the scrolling in Tridactyl is better than native as it can work even when the page has put focus somewhere daft (like a pop-up).

It's more about 'feeling' native than actually being native. I managed to reinstall VimFX and it doesn't quite scroll like the arrow keys, either. But its scrolling speed still feels more natural than either Vimium or Tridactyl, although it's a bit slow.

Tridactyl's huge jumps are annoying to me, as is Vimium's excess smoothness. In Vim, I hit j once to scroll one line, same as .

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#168
post #70
post #66

Earlier quoted context omitted.

It's not possible to detect the presence of Vimium. https://github.com/philc/vimium/issues/2399

I distinctly remember when I first got on-boarded to Superhuman their app detected Vimium running and asked me to disable it for their site.

I work at Superhuman. We used to have code to detect Vimium, though we evidently we removed it very recently, while working on something tangentially related. It was working but definitely finicky over the years.

The initial way we checked for it was looking for document.body.matches('*[_vimium-has-onclick-listener]') but apparently that stopped working in 2018. We then used a variation of this code: https://github.com/hackape/Detect-Vimium/blob/master/detect-... which seems to work still.

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#169
post #87

Earlier quoted context omitted.

is this some kind of modern-day hoarding? how would you even find that useful? why don't you use bookmarks for the earliest ones?

It's interesting, because i've asked many people who have massive tab counts this same question, and it seems the overwhelming answer is that bookmarks are harder to manage than tabs. It takes more time to bookmark a link, than it is to open it in a new tab. The positioning of the tab is an indication of approx. when that tab had been opened, and the other tabs near it is likely similar in subject matter, or is relat…

> The positioning of the tab is an indication of approx. when that tab had been opened, and the other tabs near it is likely similar in subject matter, or is related somehow.

Add in tree style tabs and you get this relationship on steroids - new tabs are automatically a child of the source tab, and you can expand/collapse the tree.

Re: Vimium – A browser extension that provides Vim-style keyboard controls

#170
post #37

This looks amazing, but installing the Firefox extension I am worried about all the permissions it asks. I am surprised how comfortable people are signing off on these permissions. How do people at HN put these security worries to rest?

This (your fear) is a result of bad policy by Firefox. This is why a lot of useful add-ons or plugins died, and, overall, Firefox became a shittier browser. Neither Vimium nor SurfingKeys don't hold a candle to KeySnail because back in the days add-ons worked you could control the browser's chrome as well as a bunch of other non-HTML elements. Today, you cannot even use browser extensions to close a browser window if…

Auditing each tool by ourselves would cost a lot of time. Not to mention that it would not be a one-time thing. At each update, another check would be required for "peace of mind".

Curious to discuss if there is a way to trust these extensions without establishing ourselves that the code is not harmful.

Post reply on HN