mirror of
https://github.com/org-roam/org-roam
synced 2025-08-17 13:33:31 -05:00
(docs): add docs for qutebrowser keybindings (#512)
This commit is contained in:
committed by
GitHub
parent
963692f353
commit
c3a5544da9
@@ -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
|
||||||
|
Reference in New Issue
Block a user