added command yq (nmap) and q (vmap) to generate qr from current URL and

selection respectively
This commit is contained in:
satyamk 2023-06-12 01:19:38 +05:30
parent 20df2ac753
commit fc530667d0

View file

@ -231,6 +231,7 @@ export class default_config {
T: "current_url tabopen",
yy: "clipboard yank",
ys: "clipboard yankshort",
yq: "text2qr",
yc: "clipboard yankcanon",
ym: "clipboard yankmd",
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")',
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")',
q: "composite js document.getSelection().toString() | text2qr",
// "j": 'js document.getSelection().modify("extend","forward","paragraph")', // not implemented in Firefox
k: 'js document.getSelection().modify("extend","backward","line")',
$: 'js document.getSelection().modify("extend","forward","lineboundary")',