Skip to content

Instantly share code, notes, and snippets.

@olmokramer
Last active November 4, 2018 23:42
Show Gist options
  • Save olmokramer/8a175dbc130a48c80db5ad1e4a28f86b to your computer and use it in GitHub Desktop.
Save olmokramer/8a175dbc130a48c80db5ad1e4a28f86b to your computer and use it in GitHub Desktop.
Qutebrowser hints for reddit expando buttons
config.set('hints.selectors': {
'all': [*c.hints.selectors['all'], '.expando-button'],
}, pattern='*://*.reddit.com/*')
# You can also add a custom hint group that only selects the expand buttons.
config.set('hints.selectors', {
'reddit-expand': ['.expando-button'],
}, pattern='*://*.reddit.com/*')
# Add binding for the new hint group.
config.bind(';e', 'hint reddit-expand')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment