From 3f5064c28ccd09e5b341d00ce013fb2b9761f017 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Mon, 27 Apr 2020 20:13:21 -0500 Subject: [PATCH] - Added Nautilus Cmd-Arrows hotkeys for traversing directories. Closes #118 --- xkeysnail-config/kinto.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xkeysnail-config/kinto.py b/xkeysnail-config/kinto.py index 2ab7fcb..202ae0a 100644 --- a/xkeysnail-config/kinto.py +++ b/xkeysnail-config/kinto.py @@ -51,6 +51,14 @@ define_conditional_modmap(re.compile("Gnome-terminal|konsole|io.elementary.termi # Key.RIGHT_CTRL: Key.LEFT_CTRL, # Mac }) +# Keybindings for Nautilus +define_keymap(re.compile("Org.gnome.Nautilus"),{ + K("RC-Up"): K("M-Up"), # Go Up dir + K("RC-Down"): K("M-Down"), # Go Down dir + K("RC-Left"): K("M-Left"), # Go Back + K("RC-Right"): K("M-Right"), # Go Forward +}) + define_keymap(None,{ # Cmd Tab - App Switching Default K("RC-Tab"): K("RC-F13"),