(docs): add docs for qutebrowser keybindings (#512)

This commit is contained in:
Rafael Accácio Nogueira 2020-04-26 11:23:11 +02:00 committed by GitHub
parent 963692f353
commit c3a5544da9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,14 @@ javascript:location.href =
+ '&title='
+ encodeURIComponent(document.title)
```
or as a keybinding in qutebrowser, adding the following to the autoconfig.yml file:
```yml
settings:
bindings.commands:
global:
normal:
gc: open javascript:void(location.href='org-protocol://roam-ref?template=r&ref='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title))
```
where `template` is the template key for a template in
`org-roam-capture-ref-templates`. More documentation on the templating