mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
added command yq (nmap) and q (vmap) to generate qr from current URL and
selection respectively
This commit is contained in:
parent
20df2ac753
commit
fc530667d0
1 changed files with 2 additions and 0 deletions
|
@ -231,6 +231,7 @@ export class default_config {
|
||||||
T: "current_url tabopen",
|
T: "current_url tabopen",
|
||||||
yy: "clipboard yank",
|
yy: "clipboard yank",
|
||||||
ys: "clipboard yankshort",
|
ys: "clipboard yankshort",
|
||||||
|
yq: "text2qr",
|
||||||
yc: "clipboard yankcanon",
|
yc: "clipboard yankcanon",
|
||||||
ym: "clipboard yankmd",
|
ym: "clipboard yankmd",
|
||||||
yo: "clipboard yankorg",
|
yo: "clipboard yankorg",
|
||||||
|
@ -393,6 +394,7 @@ export class default_config {
|
||||||
w: 'js document.getSelection().modify("extend","forward","word"); document.getSelection().modify("extend","forward","word"); document.getSelection().modify("extend","backward","word"); document.getSelection().modify("extend","forward","character")',
|
w: 'js document.getSelection().modify("extend","forward","word"); document.getSelection().modify("extend","forward","word"); document.getSelection().modify("extend","backward","word"); document.getSelection().modify("extend","forward","character")',
|
||||||
b: 'js document.getSelection().modify("extend","backward","character"); document.getSelection().modify("extend","backward","word"); document.getSelection().modify("extend","forward","character")',
|
b: 'js document.getSelection().modify("extend","backward","character"); document.getSelection().modify("extend","backward","word"); document.getSelection().modify("extend","forward","character")',
|
||||||
j: 'js document.getSelection().modify("extend","forward","line")',
|
j: 'js document.getSelection().modify("extend","forward","line")',
|
||||||
|
q: "composite js document.getSelection().toString() | text2qr",
|
||||||
// "j": 'js document.getSelection().modify("extend","forward","paragraph")', // not implemented in Firefox
|
// "j": 'js document.getSelection().modify("extend","forward","paragraph")', // not implemented in Firefox
|
||||||
k: 'js document.getSelection().modify("extend","backward","line")',
|
k: 'js document.getSelection().modify("extend","backward","line")',
|
||||||
$: 'js document.getSelection().modify("extend","forward","lineboundary")',
|
$: 'js document.getSelection().modify("extend","forward","lineboundary")',
|
||||||
|
|
Loading…
Add table
Reference in a new issue