diff --git a/xkeysnail-config/kinto.py b/xkeysnail-config/kinto.py index d5780dd..2ab7fcb 100644 --- a/xkeysnail-config/kinto.py +++ b/xkeysnail-config/kinto.py @@ -83,8 +83,10 @@ define_keymap(None,{ define_keymap(lambda wm_class: wm_class not in ("Code"),{ # Wordwise remaining - for Everything but VS Code - K("M-Left"): K("C-Left"), # Left of Word - K("M-Right"): K("C-Right"), # Right of Word + K("M-Left"): K("C-Left"), # Left of Word + K("M-Shift-Left"): K("C-Shift-Left"), # Select Left of Word + K("M-Right"): K("C-Right"), # Right of Word + K("M-Shift-Right"): K("C-Shift-Right"), # Select Right of Word # ** VS Code fix ** # Electron issue precludes normal keybinding fix. # Alt menu auto-focus/toggle gets in the way. diff --git a/xkeysnail-config/vscode_keybindings.json b/xkeysnail-config/vscode_keybindings.json index 30d4657..750f5ac 100644 --- a/xkeysnail-config/vscode_keybindings.json +++ b/xkeysnail-config/vscode_keybindings.json @@ -17,5 +17,15 @@ { "key": "alt+left", "command": "cursorWordLeft" + }, + { + "key": "shift+alt+left", + "command": "cursorWordStartLeftSelect", + "when": "textInputFocus" + }, + { + "key": "shift+alt+right", + "command": "cursorWordEndRightSelect", + "when": "textInputFocus" } ] \ No newline at end of file