4 ms·
Still waiting for vimperator so I can use browser like I used to use only 2 years back. Tridactyl is good but no :map, no :js and alphabets instead of numbers
by fxfan 8y ago
Still waiting for vimperator so I can use browser like I used to use only 2 years back.
Tridactyl is good but no :map, no :js and alphabets instead of numbers for links.
- driverdan 8y agoHave you tried Vimium?
- fxfan 8y agoNo I have not- I think they were not trying for full vimperator compatibility and now your sibling comment has informed me that tridactyl is already close. So I probably won't try to switch... :)
- bovine3dom 8y agoWhen did you last look at Tridactyl? - :js is there - You can have numbers with :set hintstyle numeric - You can have Vimperator style link filtering with :set hintfiltermode vimperator - There's no map (and probably never will be), but you can bind sequences of keys to "ex-commands", which is probably 99% of what you want, e.g, :bind <C-b>t open google what time is it The main problem I have with Tridactyl is that it's pretty janky at the moment.
- fxfan 8y agoYou're godsent- `:js` is there now and it works! I tried `:set hintstyle numeric` and the command was accepted but it didn't work. Same for `hintfiltermode`. But that they exist means I it's probably me doing something wrong. I couldn't get bind to work the way I wanted- I typed `:` followed by `bind w :tabnext<CR>` but that didn't work. Also, C-i for opening vim on textareas and C-c for cancelling a page load don't work either. I'm beginning to think though that "all" stuff already there, it just works differently (JS wasn't there when I tried a few months back) so I just need to re-read the documentation and not expect everything to work "exactly" like vimperator. Thank you so much! You've changed my life (partially :))
- bovine3dom 8y agoWe don't have much validation on `set` - people can use it to make their own settings if they want - so just because it was accepted doesn't mean that it worked in the way you thought it would... In this case it's because I misremembered the setting. You want `:set hintnames numeric` instead : ) Regarding bind: as I said, it maps sequences of keys to an ex-command. Your attempt is a sequence of keys to a sequence of keys. The correct invocation is `bind w tabnext`. We left ctrl-c unbound so it could be used for copy, not least because I know it would annoy the hell out of me. You can rebind it with `bind <C-c> stop`, but because we only have access to pages after they've loaded a bit, it might not quite work as often as you'd like. Ctrl-I will only work if you have `:native` installed, and, if you're on OSX, an editor I thought to add, which I think might just be MacVim. I'd hope it would give you errors if any of the above was untrue... We definitely aren't at feature parity with Vimperator. Some stuff Mozilla just won't let us do (e.g, emenu), other stuff we can do but haven't got around to it yet (accepting keyboard input on privileged pages - we have preliminary approval for extending WebExtensions). I'm glad I could help. There's `:tutor` which is fairly short and probably the most user-friendly way of digesting general information, and there's `:help` if you fancy a very dry novella; there's also somewhat hidden help pages for settings and commands for use in insert/ex mode, the latter of which I can't remember how to access. I think there's a link hidden on the main help page.
- fxfan 8y agoThank you. Your using `we` made me go to github contributors and sure enough you were one of the top guys :) I guess with the right `hintnames` and `:bind w tabnext` working I am 95% of the way already. Couple of things if I don't come across as ungrateul-- :nativeinstall didn't work for me, so I manually did the (seemingly risky) step. :native now shows 0.1.10 installed but C-i doesn't yet work. I'll look around and post back. I am on Linux. I tried binding C-c but it doesn't seem to work as you guessed. Also- how about using C-z for stop once you have imap and nmap working? Because you're right C-c could get annoying but `stop` is an oft-used feature too. About feature parity- vimperator also gave you `readline` style C-a, C-e C-w in text-fields. I'm going to read the hell out of the tutor and help as soon as I get some time. Vimperator (now Tridactyl!) means a lot to me since it makes me much more productive.