Live data from Hacker News

Look ma, no mouse: Vimium

codefaster.substack.com

101–110 of 111 posts

Re: Look ma, no mouse: Vimium

#101

Too sad the switch to WebExtensions in Firefox totally screwed up these addons. I was a religious VimFX user and I can tell you that i mourn having lost that. It's like an era of powerful browsing ended. I use the mentioned Vimium addon, but it's not even close to what we had with VimFX. Does the keyboard shortcuts in Vimium work when the page is loading? No. How nice is it to have keyboard shortcuts that work someti…

I was super happy that the old XUL extensions could hide UI elements. I used Vimperator and hid everything but the Vimperator status line, and it was awesome. Noticeably more screen real estate and less clutter. For those looking for that more complete Vim experience, qutebrowser ( https://qutebrowser.org/ ) is a good option, IMO.

The one thing holding me back from qutebrowser is the fact that its adblocking capabilities (particularly cosmetic ones) are nowhere near up to par with anything like uBlock Origin or even Adblock Plus on Firefox. I'm happy to see they're working on it, but uBlock-enabled web browsing has been a gamechanger for me, and it'd be hard to give that up to use a browser akin to Tridactyl++.

The second that qutebrowser (or any Webkit/Webengine vim-like browser) gets good adblock/cosmetic filtering support, I'll switch in a heartbeat.

Re: Look ma, no mouse: Vimium

#102
post #93
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…

How does Vimium compare to Tridactyl which is Firefox only?

Just repeating my comment here https://news.ycombinator.com/item?id=24637140 although it was Tridactyl vs QuteBrowser, the same applies. Before tridactyl, I used vimium and vim-vixen, this is the best one hands down. In terms of integration with Firefox and links recognition. For the hints, it's mainly the fact that tridactyl highlights the elements hinted, for example with the Twitter web UI:

tridactyl: https://imgur.com/D1PDBgY

qutebrowser: https://imgur.com/m4vtbk0

Now it's not that a big deal, but the advantages appears clearly on more saturated pages, off the top of my head, stackoverflow's triage:

With qutebrowser[0], if I want to close the modal, `gs` and `hd` are almost on the same place (it's only with experience that I noticed that hints are top left so `hd` is the hint I'm looking for) compare this to tridactyl[1] the `hy` fits very nicely with the highlight which doesn't let any place for ambiguity. I noticed your other answer about the addons, it's very much appreciated, and if I can help with the beta or whatever, let me know, keep up with the great work.

0: https://imgur.com/H4oGufK

1: https://imgur.com/NyNyOoX

Re: Look ma, no mouse: Vimium

#103

Earlier quoted context omitted.

You can search for text, then press `v` to go to visual mode, and then `y` to yank. There’s also a caret mode you can get into with `vc` that then let’s you move a caret around the page with the motion keys, and you can use it to highlight and yank text like you would in vim.

Thanks for the tip! It seems to work well. When I go to 'visual mode' its easy to move the text selector forward, but what if I want to expand back in paragraph?

'B' moves back an entire word, '{' moves to the previous paragraph break.

Re: Look ma, no mouse: Vimium

#104

FWIW: in Firefox you can use ' (single quote) to search only in hyperlinks.

Wow... how have I used Firefox for a decade now and not known this? Thanks for the tip!

Then treat yourself here: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perf...!

Also, this is a power tool: https://support.mozilla.org/en-US/kb/address-bar-autocomplet.... I regularly use ^ and * to get right to what I'm looking for. % is gawd-sent when you've too many tabs open.

Ctrl+0 (on Linux, Alt+) goes to first tab; Ctrl+9 goes to the last tab.

Re: Look ma, no mouse: Vimium

#105
post #15

I settled with Surfingkeys after I tried Vimium, Vimium C, Pentadactyl and Vimperator. Here's my Surfingkeys configuration as an ex-Vimium user: map('F', 'gf'); Hints.characters = "asdgqwertzxcvb"; It makes open in new tab behave like Vimium and f work like a toggle. Hope this helps someone looking for a better option migrating from Vimium. [0] https://github.com/brookhong/Surfingkeys

I found Surfingkeys far more configurable than Vimium. I too looked at the alternatives and think its the best of the bunch. I'll have to try those mappings, seems like good tweaks.

Re: Look ma, no mouse: Vimium

#106
post #89

Too sad the switch to WebExtensions in Firefox totally screwed up these addons. I was a religious VimFX user and I can tell you that i mourn having lost that. It's like an era of powerful browsing ended. I use the mentioned Vimium addon, but it's not even close to what we had with VimFX. Does the keyboard shortcuts in Vimium work when the page is loading? No. How nice is it to have keyboard shortcuts that work someti…

So true. It's so easy to accidentally "escape" context in which Vimium works. I still use mouse and standard shortcuts like ctrl+l a lot after each such use one has to deliberately click inside a web page to return to proper context. A lot of actions like tab switching can be done in vimium but sometimes it's a chore. Bookmarks CAN be accessed via "o" in Vimium :)You can also use "b" to browse just the bookmarks.

In chrome if you create a custom search engine and and set the url to javascript: it will focus to the page. I set it to the letter j, so if I ever hit ctrl+l and change my mind, I just hit j then Enter to refocus the page.

Re: Look ma, no mouse: Vimium

#107
post #70

Does anyone know of a program for mac which allows you to type using Vim input? Of course it's probably too hard to make it compatible with all the different types of text boxes, so I'm envisioning a shortcut that you can press, which brings up a small editing window, where you can use vim commands, and then you can copy and paste into whatever text field you want.

https://github.com/dbalatero/VimMode.spoon I think it uses an invisible neovim in the background when it can.

Thank you!

Re: Look ma, no mouse: Vimium

#108
post #38

Earlier quoted context omitted.

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

The very title of the page is „Code faster“. The there IS this sentence: To stay fast and healthy, keep your hands on your keyboard. Together this says that you code faster by (or when?) avoiding the mouse.

Maybe. But that's obviously not what the article is about.

Re: Look ma, no mouse: Vimium

#109
post #102
post #93

Earlier quoted context omitted.

How does Vimium compare to Tridactyl which is Firefox only?

Just repeating my comment here https://news.ycombinator.com/item?id=24637140 although it was Tridactyl vs QuteBrowser, the same applies. Before tridactyl, I used vimium and vim-vixen, this is the best one hands down. In terms of integration with Firefox and links recognition. For the hints, it's mainly the fact that tridactyl highlights the elements hinted, for example with the Twitter web UI: tridactyl: https://imgu…

Thanks, I ask because currently I'm using Tridactyl on Firefox but Vimium on Chrome, and it's interesting to compare the two approaches to the same problems.

Re: Look ma, no mouse: Vimium

#110
post #106
post #89

Earlier quoted context omitted.

So true. It's so easy to accidentally "escape" context in which Vimium works. I still use mouse and standard shortcuts like ctrl+l a lot after each such use one has to deliberately click inside a web page to return to proper context. A lot of actions like tab switching can be done in vimium but sometimes it's a chore. Bookmarks CAN be accessed via "o" in Vimium :)You can also use "b" to browse just the bookmarks.

In chrome if you create a custom search engine and and set the url to javascript: it will focus to the page. I set it to the letter j, so if I ever hit ctrl+l and change my mind, I just hit j then Enter to refocus the page.

It work like a charm, thank you so much :)
Post reply on HN