Readit News logoReadit News
int3 · 3 years ago
Vimium was my introduction to software engineering :) I contributed a bunch of code to it back in 2011-2012. Glad to see it still being in use!

I'm quite proud of the little test I wrote to figure out which DOM APIs could be used to detect the visibility of different kinds of elements, in order that we could display link hints correctly: https://github.com/philc/vimium/blob/master/test_harnesses/v...

philc · 3 years ago
You crushed it Jez! I wish we could work on more projects together.
int3 · 3 years ago
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.

danielskogly · 3 years ago
How fun! I'm also quite proud of another contribution, also related to detecting visibility, but this time with `document.elementFromPoint` to filter out elements completely covered by other ones :)

https://github.com/philc/vimium/pull/2251

mijoharas · 3 years ago
I think vimium was one of my first open source contributions too!

I built the custom search engines feature (which I ironically don't use much anymore).

edanm · 3 years ago
Oh really? I've been using it for years and love it, so thanks for that!
tambourine_man · 3 years ago
Very clean code, extremely readable. If you can understand everything at first pass, that's gold.
comfypotato · 3 years ago
Link hints are the best part!
philc · 3 years ago
(I'm one of the authors) Love seeing this on HN today! It seems to get some front page attention every couple of years. Thank you everyone for the encouragement!

Related: last week I published a very similar extension, but for Google Sheets. https://github.com/philc/sheetkeys

michaelbuckbee · 3 years ago
Hey, just wanted to say thanks for your work on Vimium. I have a lot of RSI issues from using a mouse and Vimium has been incredibly helpful in mitigating those.

I think it's fair to say that between Vimium and a windows manager on OSX I've cut my mouse actions by 90%.

Your work has had a profoundly positive impact on my life and I'm very grateful.

Viccro · 3 years ago
I'm in a similar boat with RSI; Vimium is a huge help to me. What do you use for a windows manager?
apozem · 3 years ago
Thank you for your excellent work! I have some RSI issues and try not to use the mouse as much as possible. Vimium helps me avoid wear and tear every single day. I love it and install it immediately on any new Chrome instance.

(I am about to use it to press the "reply" button to submit this comment. It's fantastic.)

osense · 3 years ago
This is cool!

Do you have any plans for a Google Docs extension as well? Or do you mostly get by with Vimium there?

sva_ · 3 years ago
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.
johnhenry · 3 years ago
That used to be my solution for managing tabs in chrome. Every few months it would just crash, I'd lose all my tab, and I'd think "probably for the best". Now chrome is a lot more stable :/.
bakuninsbart · 3 years ago
This causes me some level of anxiety. An important end of day ritual for me is to close every tab I'm not 100% sure I will need the next morning.
epigramx · 3 years ago
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?
chii · 3 years ago
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 related somehow.

It acts as a queue to be processed as well.

And for a lot of browsers, the auto-preloading means you can have the tab "saved" and you can view it, even if it took long time to load. It's a form of "offline" viewing.

If bookmarks can achieve _all_ of the above, without having the need for the user to do anything extra, it would actually replace tabs. But so far, i've not seen anyone switch.

dotancohen · 3 years ago
As someone guilty of same (I've got just over half that many tabs open now: 273), I might be able to explain.

Links rot. If I see something on the interwebs that I want to store or remember, I usually copy the pertinent information somewhere else. Be that Anki, or org-mode, or somewhere else. I leave the tab open until I get the free time to go back and copy the information somewhere.

Looking at my open-longest tabs, it seems I've got some Magento documentation open from last summer. I should go clean that up. )) If these were bookmarks, I would absolutely _never_ get around to filing the information away in a useful place.

bharathyes · 3 years ago
it is. i am one of those who have atleast 100 tab on any workday, more on my personal system. i also use bookmark service like raindrop that have tagging, etc than simple folders.

Main reason for keeping tags are they are a constant reminder of topics to look into. Kinda like postits on your monitor. If I put them away using bookmarks I often forget about them and neder get to them. I have folders with hundreds of links I wanted to look a year back and still haven't.

I do clean out tabs occasionally when I am done with a topic but I mostly only bookmark when having to shutdown the system.

sva_ · 3 years ago
It might have been a bit of a hyperbole.
komali2 · 3 years ago
You successfully closed a vim-UX interfaced program?

I'm sorry you lost your tabs but congratulations nonetheless.

https://stackoverflow.com/questions/11828270/how-do-i-exit-v...

leshenka · 3 years ago
They've said it's a bug. You'd never close anything was it not for this bug
sodapopcan · 3 years ago
Holy shit... 500 tabs? I thought I was bad about accumulating tabs but had no idea ~500 was even possible. I'm trying to even but I literally can't--You might say "I literally can't even".
mkl · 3 years ago
I have 7-8000 on one machine, multiple thousands on at least two others. Session Buddy + either Auto Tab Discard or The Marvellous Suspender means I don't lose any even in crashes and it doesn't use too much RAM.
Arelius · 3 years ago
Honestly, I don't know how you all stay so low, I'm down to 1172, and getting it even that low feels like a bit of an accomplishment.
rottc0dd · 3 years ago
I have once went upto 1674 in Firefox.

Deleted Comment

mrmr1993 · 3 years ago
I think this may have been this issue[0], which was fixed in [1]. Seems like the limit has crept up from 3 to 25 at some point in the last decade-ish, but in theory it should be undoable with 25X (or by mashing X to undo as many x commands as required). [0]: https://github.com/philc/vimium/issues/1126 [1]: https://github.com/philc/vimium/pull/1128
magios · 3 years ago
my solution to beat the tab accumulation problem is to have firefox simply close all tabs, clear browsing and download history, clear form and search history, and clear cache upon the user choosing to close the program. if the browser or computer crashes the tabs and everything else still exist. if a site meets your interests, bookmark it. note that cookies remain but are usually cleared periodically. also you can setup a folder of bookmarks, or a new tab page, that you can open up everyday and check the websites you want.
reportgunner · 3 years ago
If you can't remember all of those 500 tabs, did you really need them ?

Dead Comment

audunw · 3 years ago
I used Vimium for a while, mainly for the feature of opening links with the keyboard. But I never stuck with it, forgot to use it, because I really don't like the mode-switching and having it default to taking over keyboard input.

Finally found Link Hints, which does only the link opening part, but better (IMO), and with normal keyboard shortcuts. Now I'm constantly using it.

https://addons.mozilla.org/en-US/firefox/addon/linkhints/

donatzsky · 3 years ago
I use Key Jump. It's even simpler. Just hit , or . depending on if you want to open in the same or a new tab.

https://addons.mozilla.org/en-US/firefox/addon/key-jump-keyb...

caspar · 3 years ago
Modeless Keyboard Navigation[0] is a fork of Vimium by an RSI sufferer that doesn't have the mode switching element (but does keep all the other actual features); instead you use Control/Alt + whatever key combinations. Basically it's like Link Hints but with more shortcuts.

0: https://handsfreecoding.org/2017/11/22/extensions-now-availa...

aliencat · 3 years ago
I also recommended vimium-c (https://github.com/gdh1995/vimium-c). It's like vimium on steroid: with a bunch of additional useful features.
woleium · 3 years ago
is pentadactyl still a thing?

Edit: no, but tridactyl is: https://github.com/tridactyl/tridactyl

devsda · 3 years ago
Nice feature set especially the Contextual keymapping. Can think of some interesting use cases it enables.

Offtopic:

The section "Declaration for Applicable Regions" from ReadMe, this is the first time I've come across it.

Should it be read as a disclaimer or an opinion?

N3cr0ph4g1st · 3 years ago
Any specific things you do with vimium-c that are must have features to switch over?
philipphutterer · 3 years ago
I use caret mode, visual selection and P quite often to search for the text in visual selection in a new tab with the preferred search engine. I also like yf for yanking a link to clipboard.
mplanchard · 3 years ago
Came here to make the same recommendation, so just making this comment to second yours.
ashton314 · 3 years ago
What does it add?
dstanko · 3 years ago
Presumably -c :)
m0rtalis · 3 years ago
Yeah sorry I'm getting anxiety when I see that many Chinese characters in a README.
Oxidation · 3 years ago
How dare they not speak only English on your Internet.
keyle · 3 years ago
For those looking to replace the mouse at the OS level on macOS (similar vibe), Scoot is pretty good for that... https://github.com/mjrusso/scoot
gandalfgeek · 3 years ago
On MacOS I've been using homerow.app which does the same thing as Scoot but looks a bit more polished.
TheLocehiliosan · 3 years ago
I like Shortcat

https://shortcat.app

laserlight · 3 years ago
meatjuice · 3 years ago
This is the very thing I’ve been looking for since vimac became proprietary (homerow). I was using Shortcat, which is also a proprietary software and I was having a little bit of concern mainly about security, but this software seems to solve the problem. Thank you for sharing.
philipphutterer · 3 years ago
Is that really practical? In the video it looks not very useful to me as it does not seem to be very efficient. The mouse is so integrated into MacOS it looks hard to efficiently replace it. Are you or is anyone else actually using this regularly?

Also, I think the other mentioned alternatives look quite similar to that regard.

GabrieleR · 3 years ago
Is there a Linux version? It looks very handful
vinceguidry · 3 years ago
It certainly would be but looking at the options tells me that they're hooking into MacOS's widget libs and on Linux there's just so many. What I get by with to go mouseless is Tridactyl for Firefox, warpd for when I need a pointer, and when I absolutely, positively need a mouse, mouse emulation on QMK keyboards never fails me. I only need it these days for dealing with MacOS outside of my Linux VM. I also use keyd in order to remap keyboard shortcuts.

https://github.com/rvaiya/warpdhttps://github.com/rvaiya/keyd

Why in the world are those links side by side?

phil294 · 3 years ago
There's Vimium Everywhere, a very recent tool for Linux of mine. I don't know of any other. https://github.com/phil294/vimium-everywhere
tetraca · 3 years ago
On linux, you can just install one of the DEs that are keyboard driven. Rat poison is one. I used that with Conkeror (a fully keyboard driven browser with emacs keys) for a long time.
urza · 3 years ago
Anything like this for Windows?
ernestipark · 3 years ago
This comes up every once in a while on HN. I've been using vimium for over 10 years now since I did an internship at the same company as the guys who created it. Can't imagine browsing the web without it. Works especially well with HN and those small link targets :)
jerpint · 3 years ago
I’m a big fan of vimium! Works great and consistent
airtag · 3 years ago
There's also a free, open source vim style browser called Qutebrowser which you can control like Vim if that's your thing. It works well, also with complicated web sites.

https://qutebrowser.org/

kataklasm · 3 years ago
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 since it's built into the browser natively in qutebrowser.

Maybe I'll switch away some time in the future, but for now the flawless vim-UX, its customizability and my many scripts and custom bindings I've written for it keep my locked in the qutebrowser garden, haha!

sundarurfriend · 3 years ago
> pretty nice if you can accept having a browser without UBlock Origin

Just for potential readers who might not be aware: qutebrowser ships with its own inbuild adblocker though, so you're entirely left adrift in the ad-trashpile that is the Web today. Qutebrowser isn't my daily driver (mainly because I found it a pain to configure), but from my limited experience, the adblocking works pretty well.

szszrk · 3 years ago
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.

mpgarate · 3 years ago
+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.
rax0m · 3 years ago
I love qutebrowser and use it daily (and donate to the compiler), mostly on Linux but also on Windows.

Here are some of my headaches that force me to use Chrome/Firefox anyway sometimes, if anyone has answers to these I am very interested to hear them.

* Can't save passwords / autofill (for accounts I don't particularly care about)

* UI scaling in Windows (for high-res screens) is bad. The web page contents do not scale automatically.

* Does not resolve Teams "secure links" (workaround is to right click teams links instead and copy them, then paste in qutebrowser)

* Twitter videos don't work

* On linux (somehow this works on windows), "accept all cookies" sometimes does not get rid of that prompt. Stack overflow is an example where this happens. Another example is redhat where the prompt does not load for a while [0]

* Clicking something that spawns a box where text can be inserted does not bring me into insert mode. Example [1] (the searchglass). This causes me to close the tab by mistake sometimes by typing 'd'.

[0]: https://access.redhat.com/documentation/en-us/red_hat_enterp... [1]: https://www.atlassian.com/software/jira/templates/web-design...