feat: qutebrowser add orgmode+orgroam bindings

This commit is contained in:
Flinner 2021-07-26 14:37:18 +03:00
parent 6818a85b64
commit ed33755f5c
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@
config.load_autoconfig(True) config.load_autoconfig(True)
# ORG MODE # ORG MODE
config.bind("cec", "open javascript:location.href='org-protocol://roam-ref?template=r&ref='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)") config.bind("ec", "open javascript:location.href='org-protocol://roam-ref?template=r&ref='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)")
## Aliases for commands. The keys of the given dictionary are the ## Aliases for commands. The keys of the given dictionary are the
## aliases, while the values are the commands they map to. ## aliases, while the values are the commands they map to.
@ -2171,6 +2171,7 @@ c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}',
# config.bind('gJ', 'tab-move +') # config.bind('gJ', 'tab-move +')
# config.bind('gK', 'tab-move -') # config.bind('gK', 'tab-move -')
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}') # config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
# config.bind('gU', 'navigate up -t') # config.bind('gU', 'navigate up -t')
# config.bind('g^', 'tab-focus 1') # config.bind('g^', 'tab-focus 1')
# config.bind('ga', 'open -t') # config.bind('ga', 'open -t')
@ -2247,6 +2248,7 @@ c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}',
# config.bind('xo', 'set-cmd-text -s :open -b') # config.bind('xo', 'set-cmd-text -s :open -b')
# config.bind('yD', 'yank domain -s') # config.bind('yD', 'yank domain -s')
# config.bind('yM', 'yank inline [{title}]({url}) -s') # config.bind('yM', 'yank inline [{title}]({url}) -s')
config.bind('ey', 'yank inline [[{url}][{title}]]')
# config.bind('yP', 'yank pretty-url -s') # config.bind('yP', 'yank pretty-url -s')
# config.bind('yT', 'yank title -s') # config.bind('yT', 'yank title -s')
# config.bind('yY', 'yank -s') # config.bind('yY', 'yank -s')