Live data from Hacker News

Look ma, no mouse: Vimium

codefaster.substack.com

31–40 of 111 posts

Re: Look ma, no mouse: Vimium

#31

I'm glad this was posted. I really liked how they introduced only one feature; that was enough to push me to install and get past "I don't know vim, why would I like this". I can press 'f' and type letters to follow links. No vim-ness. Just a nice feature. (You can press "?" to see more features.) (I used an XUL-based web browser with Emacs keybindings many years ago and loved it. But I had to switch to Chrome, and X…

> I can press 'f' and type letters to follow links. You can get this with standard Firefox, no extension needed. For instance, on the HN main page, hit ' (single-quote) then "vi" then [enter] and you'll follow the link to this article.

Oh that's cool, thanks for the tip

Re: Look ma, no mouse: Vimium

#32

Earlier quoted context omitted.

I've tried Tridactyl, Vimium, Saka Keys, Vimium C, and Vim Vixen. Of these, I found Vimium C to work the best and have the least overhead. Tridactyl added a consistent overhead of around 100 milliseconds when loading page, while Vimium and Vimum C added only about 20 ms of overhead. In terms of features, I think Tridactyl is the most feature complete, but I found Vimium C to be more enjoyable to use. For example, Vim…

FWIW - mostly for other interested readers - in Tridactyl we made hints which might be useless grey recently. They correspond to JavaScript events and are sometimes the only way to click a button. If you want Vimium-style behaviour where these elements are not hinted you can just do `:bind f hint -J`. We also have a Vimium-style theme which you can access with `:colours shydactyl`. The theme could do with some polish…

I’m curious about your first paragraph but I don’t understand it, can you rephrase?

DOM elements which trigger JS event on click which are not identified by shortcut tools has always annoyed me, us much that I even tried to fix it myself so I’m very interested if tridactyl has

Re: Look ma, no mouse: Vimium

#33
I'm in love. I was able to navigate to hacker news, use F to click into the comments. Use J to read a bit, then jumped back to the top of the page and used F to highlight the text box to start typing this comment. Pair Programming is about to get a whole lot more interesting.

Re: Look ma, no mouse: Vimium

#34

Earlier quoted context omitted.

FWIW - mostly for other interested readers - in Tridactyl we made hints which might be useless grey recently. They correspond to JavaScript events and are sometimes the only way to click a button. If you want Vimium-style behaviour where these elements are not hinted you can just do `:bind f hint -J`. We also have a Vimium-style theme which you can access with `:colours shydactyl`. The theme could do with some polish…

I’m curious about your first paragraph but I don’t understand it, can you rephrase? DOM elements which trigger JS event on click which are not identified by shortcut tools has always annoyed me, us much that I even tried to fix it myself so I’m very interested if tridactyl has

Disclaimer: I didn't write this code.

This runs at page load - https://github.com/tridactyl/tridactyl/blob/5e8f94ff06bd5f14.... If you keep pulling that thread you'll find we use it to populate an array of elements with interesting event listeners on them. We can then put hints on those elements. We simply fire fake mouse events on those elements if they are chosen.

The code could definitely be improved - a major annoyance to me is that the JavaScript hints ignore CSS selectors.

Re: Look ma, no mouse: Vimium

#35
post #6

I absolutely love vimium. Such a great tool. [Vimium + i3 + vim + vscode/vmplugin] Means that I rarely have to reach for the mouse, have a tonne of desktop real estate that's easy to navigate and is way more comfortable. Just having search, simple navigation and the 'f-feature' in vimium is enough for like 99% of my use cases. It's such a pleasant and seamless experience to code in the editor, hop on over to the term…

My setup is pretty close to yours, I've found this tool to be absolutely invaluable as an alternative to digging through menus :)

https://github.com/Zren/plasma-hud

Re: Look ma, no mouse: Vimium

#36
This is a good reminder that even engineers who think they are analytical and evidence based are subject to dogma. There has never been any study showing that not using your mouse improves coding speed. Use Vim if you want, I do, but don't state it's more efficient at writing code.

Re: Look ma, no mouse: Vimium

#37
Vimium is actually quiet a stable project since it's creation in 2009.

Side note: going back on the git history of the project is a great way to see the code evolve. [1] Originally it started with 2 files, but now has blossomed into a project with 100's of files

[1] https://github.com/philc/vimium/commit/aff9db2640db9aa02858d...

Re: Look ma, no mouse: Vimium

#38

This is a good reminder that even engineers who think they are analytical and evidence based are subject to dogma. There has never been any study showing that not using your mouse improves coding speed. Use Vim if you want, I do, but don't state it's more efficient at writing code.

The article is about a browser plugin, it doesn't state anywhere that Vim is more efficient at writing code.

Re: Look ma, no mouse: Vimium

#39
Hm, I like this a lot. However in regard to RSI, is it more intensive to stay on the keyboard or to frequently use the mouse? Or is it the act of switch from keyboard to mouse that causes injury, and that maybe if you could do everything with the mouse, that could work to?
Post reply on HN