diff --git a/windows/kinto.ahk b/windows/kinto.ahk index 429fb83..441114d 100644 --- a/windows/kinto.ahk +++ b/windows/kinto.ahk @@ -363,6 +363,7 @@ $^Backspace::Send +{Home}{Delete} ; Sublime Text Remaps for VS Code #IfWinActive ahk_group vscode + #Space::Send ^{Space} ; Basic code completion ; Remap Ctrl+Shift to behave like macOS Sublimetext ; Will extend cursor to multiple lines ; #+Up::send ^!{Up} ; ST2CODE @@ -375,6 +376,7 @@ $^Backspace::Send +{Home}{Delete} #If #IfWinActive ahk_exe sublime_text.exe + #Space::Send ^{Space} ; Basic code completion #^Up::send !{O} ; Switch file #^f::send {F11} ; toggle_full_screen ^!v::send {Ctrl Down}k{Ctrl Up}{Ctrl Down}v{Ctrl Up} ; paste_from_history diff --git a/xkeysnail-config/kinto.py b/xkeysnail-config/kinto.py index 3ad6182..4fd35e5 100644 --- a/xkeysnail-config/kinto.py +++ b/xkeysnail-config/kinto.py @@ -213,6 +213,7 @@ define_keymap(None,{ }) define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{ + K("Super-Space"): K("C-Space"), # Basic code completion # Wordwise remaining - for Everything but VS Code K("M-Left"): K("C-Left"), # Left of Word K("M-Shift-Left"): K("C-Shift-Left"), # Select Left of Word @@ -272,6 +273,7 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{ # Keybindings for Sublime Text define_keymap(re.compile("Sublime_text", re.IGNORECASE),{ + K("Super-Space"): K("C-Space"), # Basic code completion K("C-Super-up"): K("M-o"), # Switch file K("Super-RC-f"): K("f11"), # toggle_full_screen K("C-M-v"): [K("C-k"), K("C-v")], # paste_from_history