News for hackers. Stuff that matters.
Re:Vimperator: a Vim-like Firefox by chousuke on Sunday January 15, 2017 @01:50PM (#13405606)
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. Annoyingly Firefox actually includes some sort of command line thing when I press :, but it seems to be only for web developers. I'd be happy if Mozilla provided a way to extend that so that it could be used for actual browsing...

Re:Vimperator: a Vim-like Firefox by wsha on Monday January 16, 2017 @12:20AM (#13408355)
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 by chousuke on Tuesday January 17, 2017 @02:06PM (#13420155)
Thanks for that. Unfortunately the documentation neglects to even link to API documentation for the objects that get passed to the gcli functions or even mention their types, so I guess I'm supposed to use some sort of console with print debugging to figure out what I can do with them... too bad it seems Firefox' built-in browser console just shows up blank.