Live data from Hacker News

Vimperator: a Vim-like Firefox

vimperator.org

81–90 of 100 posts

Re: Vimperator: a Vim-like Firefox

#81
post #77
post #73

If you just want to use your web browser more efficiently, from the keyboard, you don't need addons like Vimperator or VimFX. Firefox already has keyboard shortcuts for everything. You can press Alt+H K to see the list of keyboard shortcuts. You can press Ctrl+L to select the location bar, Ctrl+K to select the search bar. You can set browser.search.openintab if you want searches from the search bar to open in a new t…

Serious question: Is there a way to scroll without using the arrow keys, scroll by pages without PgUp/PgDn, etc? I didn't see anything in the links you provided, and those buttons aren't very convenient on most keyboards I've used.

Yep. You can use Space to scroll a page down and Shift+Space to scroll a page up. For more precise scrolling, though, you will have to use the arrow keys or the mouse.

Re: Vimperator: a Vim-like Firefox

#82

I used to be a user of pentadactyl, but never liked how it changed the entire look of the browser. Just last a couple of days ago, I found VimFx which is exactly what I always wanted. It's also open source at https://github.com/akhodakivskiy/VimFx

It's real easy to get the default look back. Hit ":" for the commandline and then enter setguioptions+=mrB.

One of the coolest things about pentadactyl is that I can make any combination of the UI into keyboard shortcuts (or a modular key chord) to toggle visibility when needed.

Re: Vimperator: a Vim-like Firefox

#83
post #48

I remember using the original keyboard productivity extension for Firefox, "hit-a-hint"[1] back in Firefox 1 & 2. Since discovering vimperator after, it has been an essential extension on par with an ad blocker. However, I found it consistently broke on new releases of Firefox and could take months to fix. Pentadactyl wasn't any better in this regard. For example, the current extension page says it only works up to F…

Yes! I love being able to click on links from the keyboard! Sadly, a lot of new interfaces make it hard for programs to recognize clickable links. I went through a phase where I became obsessed with doing everything from the keyboard rather than mouse[1] and that led me to pentadactyl (and then to vim[2]), an add-on I fell in love with. When the FF upgrades made it stop working I read the docs for how to compile pent…

> Yes! I love being able to click on links from the keyboard!

You don't need an extension to do that in Firefox. Press the key and start typing, you'll get an incremental search like gives you, but limited to hyperlink text. Once it's highlighted any bit of the link you want, press to follow it. Works in Seamonkey, too.

Re: Vimperator: a Vim-like Firefox

#84
post #23

Earlier quoted context omitted.

I'm the other way around: I tried switching from Vimperator to VimFx for a week, but couldn't really make myself compatible with it. I'm too used to browsing with toolbars=none[1] and browse almost exclusively via Vimperator command line. I found VimFx still not enough to be used with everything hidden. Too bad that Vimperator will most likely stop working once Mozilla deprecate XUL addons in Firefox 57[2]. [1]: http…

How do you make the tabs go away?

In Vimperator, :set toolbars=none will hide the tabs. If you mean the extra blank space at the top left by hidden tabs, then go to customize menu (:dialog customizetoolbar or burger menu next to address bar → customize) and enable Title Bar[1]. It will hide the extra space when use with toolbars=none.

[1]: https://files.grid.in.th/UHj8F1.png

Re: Vimperator: a Vim-like Firefox

#85
I just discovered Vimperator a few weeks ago, and I am really enjoying it thus far. I love the fact that it can be customized with a dot file, and I have implemented some really useful leader keys that I have come to really rely on.

So far I've set up some resizing the window and accessing various dev tools: http://anhari.io/2017/01/10/vimming-around-in-firefox.html

Re: Vimperator: a Vim-like Firefox

#86
post #23

Earlier quoted context omitted.

I'm the other way around: I tried switching from Vimperator to VimFx for a week, but couldn't really make myself compatible with it. I'm too used to browsing with toolbars=none[1] and browse almost exclusively via Vimperator command line. I found VimFx still not enough to be used with everything hidden. Too bad that Vimperator will most likely stop working once Mozilla deprecate XUL addons in Firefox 57[2]. [1]: http…

I switched to VimFx so I could get electrolysis working. I had to tweak scrolling speed quite drastically and and there are some behavioural differences which means I have to unlearn some muscle memory. However, with the classic theme restorer addon the UI is compressed enough that it doesn't bother me much and I can use the keyboard for almost everything. I still wish I could have the command line back though. Annoy…

I switched to VimFx recently for the same reason. Actually, the ":" shortcut for the GCLI command line is a VimFx shortcut, not a standard Firefox one. The GCLI can be customized. See for example:

https://developer.mozilla.org/en-US/docs/Tools/GCLI/Writing_...

I added a command to toggle a preference in about:config that I switch often. It is kind of a pain to write and debug commands for the GCLI though (compared to writing javascript mapping in Pentadactyl).

Re: Vimperator: a Vim-like Firefox

#87
post #77
post #73

If you just want to use your web browser more efficiently, from the keyboard, you don't need addons like Vimperator or VimFX. Firefox already has keyboard shortcuts for everything. You can press Alt+H K to see the list of keyboard shortcuts. You can press Ctrl+L to select the location bar, Ctrl+K to select the search bar. You can set browser.search.openintab if you want searches from the search bar to open in a new t…

Serious question: Is there a way to scroll without using the arrow keys, scroll by pages without PgUp/PgDn, etc? I didn't see anything in the links you provided, and those buttons aren't very convenient on most keyboards I've used.

On MacOS, you can use the vim mode of Karabiner. This lets you hit and hold "s" and "d" at the same time and then use h, j, k, and l as the arrow keys. Sadly I haven't found equivelents for Windows or Linux.

Re: Vimperator: a Vim-like Firefox

#88

Any of you figured out how to get vimperator / pentadactyl to work with all of the SPAs that have their own shortcuts? e.g. Asana or Reviewable or Gmail etc? I've always had a pretty bad time with combining those. Also, is there a solid Chrome version of any of the above?

I'm not sure what SPAs are or what Asana or Reviewable are, but I have happily used gmail with Pentadactyl by using passkeys. This is what I have in my passkeys setting for gmail:

'^https?://(mail|groups)\.google\.com':raNxujkopnczIU/#vl?,gi,gt,gd,gl,

Re: Vimperator: a Vim-like Firefox

#89

This is a great plugin and I love being able to open URLs and search google, amazon etc without actually visiting the landing page first - like hitting 'o-g ' or 'o-a ' for example. However with the support for multiprocess not being there, I decided to move on to vimfx which is somewhat more minimalistic and less easily configurable compared to vimperator, but in my experience so far it is really smooth even though…

That's something I ran into as well, but actually has had a solution in vanilla Firefox for a while. You can create keywords for searches by right clicking a search box and selecting "add keyword for this search", and can then be used in just the same as vimperator by typing that keyword into the navigation/awesome bar (such as with VimFX). One advantage to this is that you can create a bookmark folder of search keyw…

This is a nice feature. The downsides compared to Vimperator/Pentadactyl is that you can tab-complete the search term and you can't get search suggestions as you type (or at least I haven't gotten either of these things to work).

Re: Vimperator: a Vim-like Firefox

#90

Is it possible (in VimFX) to remap the (Shift) Escape? E.g. in my ~/.vimrc I use imap jj How users can live with Vim's default behavior (Escape, Ctrl-C, Ctrl-[) is mysterious to me (I do not like hitting Ctrl). :)

You can't categorically remap some key sequence to Escape in VimFx (not sure if you meant Vimperator where you can do this just like in vim). However, you can open the preference and add whatever alternative you want to all of the commands that are mapped to Escape by default.
Post reply on HN