From 3f493c04725e8a9948ebfb86143e3e6791adebe8 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Sun, 19 Apr 2020 02:51:29 -0500 Subject: [PATCH] - Added in wordwise for xkeysnail keymap --- xkeysnail/kinto.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xkeysnail/kinto.py b/xkeysnail/kinto.py index 903a45e..6d6dd11 100644 --- a/xkeysnail/kinto.py +++ b/xkeysnail/kinto.py @@ -127,6 +127,16 @@ define_keymap(None,{ K("Super-Shift-Tab"): K("LC-Shift-Tab"), # Default K("LC-Grave") : K("LC-Shift-Tab"), # Default + # Wordwise + K("RC-Left"): K("Home"), # Beginning of Line + K("RC-Right"): K("End"), # End of Line + K("M-Left"): K("C-Left"), # Left of Word + K("M-Right"): K("C-Right"), # Right of Word + K("RC-Up"): K("C-Home"), # Beginning of File + K("RC-Down"): K("C-End"), # End of File + K("M-Backspace"): K("Delete"), # Delete + # K(""): pass_through_key, # cancel + # K(""): K(""), # }) # define_keymap(re.compile("Gnome-terminal|io.elementary.terminal|terminator|sakura|guake|tilda|xterm|eterm|kitty"),{