[qutebrowser] config.py, keys.conf, and autoconfig.yml

Stephen Davies (sdavies) sdavies at umw.edu
Mon Nov 20 02:22:16 CET 2017


    Hello, I'm a new qutebrowser user (moving away from VimFX on Firefox now
that it's not supported) and I love it so far! Really excited about being able
to customize everything.

    My question today has to do with the relationship between the config.py,
autoconfig.yml, and keys.conf files. My understanding is that if you create a
config.py, it is now "the boss," and no information will be loaded from
autoconfig.yml unless you explicitly have "config.load_autoconfig()" in your
config.py.

    Assuming I'm right about that, what is the situation with keys.conf? That
looks like a very convenient place to put custom keybindings, and the syntax
looks easier to type (and on the eyes) than the corresponding
"config.bind('...','...')" lines would be in config.py. But it doesn't seem
that keys.conf is getting sourced for me. Is that for a similar reason as the
above -- namely, I have a config.py and so keys.conf doesn't automatically get
sourced -- and if so, is there a command similar to "config.load_autoconfig()"
where I can explicitly bring in my keys.conf situation?

    Apologies if this is somewhere in the documentation right under my nose.
The relevant page seemed to be this one, but it doesn't mention keys.conf:

https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#configuring-qutebrowser-via-configpy

- Stephen Davies, Ph.D.
  (stephen at umw.edu)


More information about the qutebrowser mailing list