News for hackers. Stuff that matters.
Re:Vimperator: a Vim-like Firefox by sirn on Sunday January 15, 2017 @01:01PM (#13405320)
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]: https://files.grid.in.th/0EEhIG.png

[2]: https://blog.mozilla.org/addons/2016/11/23/add-ons-in-2017/

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.
Re:Vimperator: a Vim-like Firefox by leephillips on Sunday January 15, 2017 @07:08PM (#13407339)
How do you make the tabs go away?
Re:Vimperator: a Vim-like Firefox by sirn on Sunday January 15, 2017 @11:48PM (#13408270)
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 by leephillips on Monday January 16, 2017 @09:00AM (#13409970)
Thanks! I've been wondering about that for some time.
Re:Vimperator: a Vim-like Firefox by richardboegli on Sunday January 15, 2017 @08:22PM (#13407644)
When that day comes, move to Pale Moon