Add keybinding for org-roam

This commit is contained in:
Thomas Dehaeze 2020-05-26 08:35:32 +02:00
parent 8689d13065
commit 22512e3ed2

View File

@ -164,8 +164,8 @@
'yt': 'https://www.youtube.com/results?search_query={}',
'gh': 'https://github.com/search?q={}',
're': 'https://www.reddit.com/search?q={}',
'lb': 'http://188.240.208.184/search.php?req={}',
'la': 'http://188.240.208.184/scimag/index.php?s={}',
'lb': 'http://gen.lib.rus.ec/search.php?req={}',
'la': 'http://gen.lib.rus.ec/scimag/index.php?s={}',
'sm': 'https://www.openstreetmap.org/search?query={}',
'am': 'https://www.amazon.fr/s?k={}',
'md': 'https://fr.mathworks.com/help/search.html?qdoc={}&submitsearch=',
@ -314,6 +314,11 @@ See Amazon price history using CamelCamelCamel
config.bind(',A', ":open -t https://fr.camelcamelcamel.com/search?sq={url}")
#+end_src
Org Roam Entry for the current page
#+begin_src python
config.bind(',R', "open javascript:void(location.href='org-protocol://roam-ref?template=r&ref='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title))")
#+end_src
* Userscripts
:PROPERTIES:
:header-args:bash: :shebang "#!/usr/bin/env bash"