Add backward word bind

This commit is contained in:
Oliver Blanthorn 2020-01-01 22:57:53 +00:00
parent 568f2f1c50
commit d180d1786c
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -318,6 +318,7 @@ export class default_config {
"h": 'js document.getSelection().modify("extend","backward","character")', "h": 'js document.getSelection().modify("extend","backward","character")',
"e": 'js document.getSelection().modify("extend","forward","word")', "e": 'js document.getSelection().modify("extend","forward","word")',
"w": 'js document.getSelection().modify("extend","forward","word"); document.getSelection().modify("extend","forward","character")', "w": 'js document.getSelection().modify("extend","forward","word"); document.getSelection().modify("extend","forward","character")',
"b": 'js 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")',
// "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")',