Live data from Hacker News

Look ma, no mouse: Vimium

codefaster.substack.com

41–50 of 111 posts

Re: Look ma, no mouse: Vimium

#42

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.

At the top of the page, you can hit "gi" to put the text box in focus and start typing your comment.

Re: Look ma, no mouse: Vimium

#45
post #16

I love vimum, use it myself, but my biggest gripe with it (also half-addressed in the article) is that sites with good power-user focused keyboard shortcuts built-in are almost always going to beat a generic plugin like vimium. So you're left with choosing one of two compromise options: 1) Ignore the nice app-native keyboard shortcuts and just use vimium everywhere (Frustrating when single-key shortcuts in the app ar…

> I really wish vimium had some kind of modifier for "send next key to website", so I could have my cake and eat it too. Tridactyl has this, bound to ctrl-v by default. Implementation is here [1] if anyone wants to try to add it to Vimium. [1]: https://github.com/tridactyl/tridactyl/blob/5e8f94ff06bd5f14...

For a escaping a single keypress in Vimium, you can use a mapping like

  map , passNextKey
I think it's mapped to `I` by default.

Re: Look ma, no mouse: Vimium

#47

Wow, knocked that one out of the park! Love the idea. Once change I'd make: Make pressing f again hide the links. So don't use f or f* as a link anywhere.

With vim vixen, at least, f shows links, [capital] F hides them, which follows a lot of vim patterns. (esc hides them too.)

Re: Look ma, no mouse: Vimium

#48
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 do you copy / paste text in that setup? Often I need to copy text from browser and paste into vim.

Re: Look ma, no mouse: Vimium

#49
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 do you copy / paste text in that setup? Often I need to copy text from browser and paste into vim.

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.

Re: Look ma, no mouse: Vimium

#50
Does anyone know of a way to do this OS-wide, so I don’t have to use my mouse to navigate at all? Either macOS or Ubuntu/pop_os. I know most OSes have built in keyboard shortcuts, but Linux distros are often inconsistent from app to app, and besides I’m looking for something that will let me “click” anywhere in an OS without a mouse
Post reply on HN