From 49d9cee34974b0bb5d1050cf9b26a6dc49a1cab1 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Sat, 2 May 2020 13:25:05 -0500 Subject: [PATCH] - Corrected VS Code wordwise further --- xkeysnail-config/kinto.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xkeysnail-config/kinto.py b/xkeysnail-config/kinto.py index ac73239..21fe502 100644 --- a/xkeysnail-config/kinto.py +++ b/xkeysnail-config/kinto.py @@ -118,12 +118,11 @@ define_keymap(lambda wm_class: wm_class not in ("Code"),{ # Keybindings for VS Code define_keymap(re.compile("Code"),{ # Wordwise remaining - for VS Code - # Keeping Alt is a hack, but works - K("M-Left"): K("C-M-Left"), # Left of Word - K("M-Right"): K("C-M-Right"), # Right of Word # Alt-F19 hack fixes Alt menu activation - K("M-Shift-Left"): [K("M-F19"),K("C-Shift-Left")], # Select Left of Word - K("M-Shift-Right"): [K("M-F19"),K("C-Shift-Right")], # Select Right of Word + K("M-Left"): [K("M-F19"),K("C-Left")], # Left of Word + K("M-Right"): [K("M-F19"),K("C-Right")], # Right of Word + K("M-Shift-Left"): [K("M-F19"),K("C-Shift-Left")], # Select Left of Word + K("M-Shift-Right"): [K("M-F19"),K("C-Shift-Right")], # Select Right of Word # VS Code Shortcuts K("C-g"): pass_through_key, # cancel Go to Line...