(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

View File

@@ -25,6 +25,14 @@ javascript:location.href =
+ '&title=' + '&title='
+ encodeURIComponent(document.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 where `template` is the template key for a template in
`org-roam-capture-ref-templates`. More documentation on the templating `org-roam-capture-ref-templates`. More documentation on the templating