Re: [qutebrowser] Let certain websites override qutebrowser keys

2017-02-20 Thread George
Hi Florian, 



Thanks a lot for your reply, impressive how you keep track of everything
and writing exams! Hope they went well.


 I'll keep an eye on the issue, thanks.



Best,

George





On Mon, Feb 20, 2017, at 10:06, Florian Bruhin wrote:

> Hey George,

> 

> Sorry for the late answer - I've been mostly ignoring mails because of
> exams, and only now got to looking at the unread ones ;)

> 

> * George  [2017-01-14 20:46:29 +0200]:

>> I'm aware of the solutions that you suggested, I was just
>> wondering if
>> it was possible to have a per-domain situation. For instance, in

>> pentadactyl I would have something like this in my rc file:

> 

> This should work once there are per-domain settings, see this issue:

> https://github.com/qutebrowser/qutebrowser/issues/499

> 

> Florian

> 

> --

> http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)

>   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc

> I love long mails! | http://email.is-not-s.ms/

> Email had 1 attachment:


>  * signature.asc 1k (application/pgp-signature)



Re: [qutebrowser] Let certain websites override qutebrowser keys

2017-02-20 Thread Florian Bruhin
Hey George,

Sorry for the late answer - I've been mostly ignoring mails because of
exams, and only now got to looking at the unread ones ;)

* George  [2017-01-14 20:46:29 +0200]:
> I'm aware of the solutions that you suggested, I was just wondering if
> it was possible to have a per-domain situation. For instance, in
> pentadactyl I would have something like this in my rc file:

This should work once there are per-domain settings, see this issue:
https://github.com/qutebrowser/qutebrowser/issues/499

Florian

-- 
http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
 I love long mails! | http://email.is-not-s.ms/


signature.asc
Description: PGP signature


Re: [qutebrowser] Let certain websites override qutebrowser keys

2017-01-14 Thread Taeer Bar-Yam

This doesn't directly answer your question, but on a per-visit basis you can
also press "i" to go into insert mode and the j/k keypresses will be sent
through. This is what I do when I go to ddg, I press "i" immediately and then
use it as normal.

Excerpts from George's message of January 14, 2017 1:46 pm:
Hi, 




Thank you very much for your quick replies (and thank you Mr. Compiler
for your great work on this, love the browser).


I'm aware of the solutions that you suggested, I was just wondering if
it was possible to have a per-domain situation. For instance, in
pentadactyl I would have something like this in my rc file:


set passkeys=mail.google.com:jpnkraelyx,gi,gs,ga,gt,gl,gd,?,/,#

set passkeys=calendar.google.com:jkqmwt/



I think something similar would be very useful, as there are many
websites that offer keyboard shortcuts, google {mail, calendar},
fastmail, duckduckgo, etc.


Should i open an issue in github to request this?



Best,

George





On Sat, Jan 14, 2017, at 09:17, Andreas Leppert wrote:

Hi, 







For sites like feedly, gmail etc I usually use the passthrough mode by
pressing ctrl-v. This deactivates mostly all qutebrowser bindings.




If there is a way to enable this mode automatically for certain sites,
please tell me.



@Florian. Thanks for all your work! 







Kind regards ,


Andreas 







Am 14.01.2017 8:05 vorm. schrieb "Florian Bruhin" :

Hey,







 * George  [2017-01-14 05:40:25 +0200]:



 > Hi all,







 You're not subscribed to the list, so your message got hold
 back, but
 I added you to the whitelist now ;)







 > I was wondering if it is possible to let certain websites override
 > qutebrowser's keys.



 > For instance I would like to use j and k in gmail to go down and
 > up my
 > messages, but qutebrowsers will handle those instead.







 If those are bound to :scroll and not :scroll-px (you can check with
 :bind j), then qutebrowser will send fake cursor presses to the



 webpage. Does GMail not handle those? If it does, you might be
 seeing
 this: https://github.com/The-Compiler/qutebrowser/issues/1209







 You can also add a :fake-key command, i.e. something like
 (untested):




 :bind -f j scroll down ;; fake-key j







 However that will then always send that to the website when you



 scroll, not only on GMail. Doing bindings per-domain might be
 added at
 some point with per-domain settings though :)







 Florian







 --



http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)



GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc



  I love long mails! | http://email.is-not-s.ms/






Re: [qutebrowser] Let certain websites override qutebrowser keys

2017-01-14 Thread George
Hi, 



Thank you very much for your quick replies (and thank you Mr. Compiler
for your great work on this, love the browser).


I'm aware of the solutions that you suggested, I was just wondering if
it was possible to have a per-domain situation. For instance, in
pentadactyl I would have something like this in my rc file:


set passkeys=mail.google.com:jpnkraelyx,gi,gs,ga,gt,gl,gd,?,/,#

set passkeys=calendar.google.com:jkqmwt/



I think something similar would be very useful, as there are many
websites that offer keyboard shortcuts, google {mail, calendar},
fastmail, duckduckgo, etc.


Should i open an issue in github to request this?



Best,

George





On Sat, Jan 14, 2017, at 09:17, Andreas Leppert wrote:

> Hi, 

> 

> For sites like feedly, gmail etc I usually use the passthrough mode by
> pressing ctrl-v. This deactivates mostly all qutebrowser bindings.
> 

> If there is a way to enable this mode automatically for certain sites,
> please tell me.
> 

> @Florian. Thanks for all your work! 

> 

> Kind regards ,

> Andreas 

> 

> Am 14.01.2017 8:05 vorm. schrieb "Florian Bruhin"  compiler.org>:
>> Hey,

>> 

>>  * George  [2017-01-14 05:40:25 +0200]:

>>  > Hi all,

>> 

>>  You're not subscribed to the list, so your message got hold
>>  back, but
>>  I added you to the whitelist now ;)

>> 

>>  > I was wondering if it is possible to let certain websites override
>>  > qutebrowser's keys.

>>  > For instance I would like to use j and k in gmail to go down and
>>  > up my
>>  > messages, but qutebrowsers will handle those instead.

>> 

>>  If those are bound to :scroll and not :scroll-px (you can check with
>>  :bind j), then qutebrowser will send fake cursor presses to the

>>  webpage. Does GMail not handle those? If it does, you might be
>>  seeing
>>  this: https://github.com/The-Compiler/qutebrowser/issues/1209

>> 

>>  You can also add a :fake-key command, i.e. something like
>>  (untested):
>> 

>>  :bind -f j scroll down ;; fake-key j

>> 

>>  However that will then always send that to the website when you

>>  scroll, not only on GMail. Doing bindings per-domain might be
>>  added at
>>  some point with per-domain settings though :)

>> 

>>  Florian

>> 

>>  --

>> http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)

>> GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc

>>   I love long mails! | http://email.is-not-s.ms/




Re: [qutebrowser] Let certain websites override qutebrowser keys

2017-01-13 Thread Florian Bruhin
Hey,

* George  [2017-01-14 05:40:25 +0200]:
> Hi all,

You're not subscribed to the list, so your message got hold back, but
I added you to the whitelist now ;)

> I was wondering if it is possible to let certain websites override
> qutebrowser's keys.
> For instance I would like to use j and k in gmail to go down and up my
> messages, but qutebrowsers will handle those instead.

If those are bound to :scroll and not :scroll-px (you can check with
:bind j), then qutebrowser will send fake cursor presses to the
webpage. Does GMail not handle those? If it does, you might be seeing
this: https://github.com/The-Compiler/qutebrowser/issues/1209

You can also add a :fake-key command, i.e. something like (untested):

:bind -f j scroll down ;; fake-key j

However that will then always send that to the website when you
scroll, not only on GMail. Doing bindings per-domain might be added at
some point with per-domain settings though :)

Florian

-- 
http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
 I love long mails! | http://email.is-not-s.ms/


signature.asc
Description: PGP signature