Merge pull request #471 from rbreaves/feature/KI-469-File-Managers-Followup

Feature/ki 469 file managers followup
This commit is contained in:
Ben Reaves
2021-04-07 03:07:13 -05:00
committed by GitHub

View File

@@ -264,20 +264,21 @@ define_keymap(re.compile("caja", re.IGNORECASE),{
# (overrides some bindings from general file manager code block below) # (overrides some bindings from general file manager code block below)
define_keymap(re.compile("dde-file-manager", re.IGNORECASE),{ define_keymap(re.compile("dde-file-manager", re.IGNORECASE),{
K("RC-i"): K("RC-i"), # File properties dialog (Get Info) K("RC-i"): K("RC-i"), # File properties dialog (Get Info)
K("RC-comma"): K("RC-comma"), # Open preferences dialog (doesn't work, no shortcut available?) K("RC-comma"): None, # Disable preferences shortcut (no shortcut available)
K("RC-Up"): K("RC-Up"), # Go Up dir K("RC-Up"): K("RC-Up"), # Go Up dir
},"Overrides for DDE File Manager - Finder") },"Overrides for DDE File Manager - Finder")
# Keybindings overrides for Dolphin # Keybindings overrides for Dolphin
# (overrides some bindings from general file manager code block below) # (overrides some bindings from general file manager code block below)
define_keymap(re.compile("dolphin", re.IGNORECASE),{ define_keymap(re.compile("dolphin", re.IGNORECASE),{
K("RC-Super-o"): K("RC-Shift-o"), # Open in new window (or new tab, user's choice) ##########################################################################################
# "Open in new window" requires manually setting custom shortcut of Ctrl+Shift+o ### "Open in new window" requires manually setting custom shortcut of Ctrl+Shift+o
# in Dolphin's keyboard shortcuts. There is no default shortcut set for this function. ### in Dolphin's keyboard shortcuts. There is no default shortcut set for this function.
### ##########################################################################################
# "Open in new tab" requires manually setting custom shortcut of Ctrl+Shift+o in ### "Open in new tab" requires manually setting custom shortcut of Ctrl+Shift+o in
# Dolphin's keyboard shortcuts. There is no default shortcut set for this function. ### Dolphin's keyboard shortcuts. There is no default shortcut set for this function.
### ##########################################################################################
K("RC-Super-o"): K("RC-Shift-o"), # Open in new window (or new tab, user's choice, see above)
K("RC-Shift-N"): K("F10"), # Create new folder K("RC-Shift-N"): K("F10"), # Create new folder
K("RC-comma"): K("RC-Shift-comma"), # Open preferences dialog K("RC-comma"): K("RC-Shift-comma"), # Open preferences dialog
},"Overrides for Dolphin - Finder") },"Overrides for Dolphin - Finder")
@@ -286,7 +287,7 @@ define_keymap(re.compile("dolphin", re.IGNORECASE),{
# (overrides some bindings from general file manager code block below) # (overrides some bindings from general file manager code block below)
define_keymap(re.compile("io.elementary.files", re.IGNORECASE),{ define_keymap(re.compile("io.elementary.files", re.IGNORECASE),{
# K("RC-Super-o"): K("Shift-Enter"), # Open folder in new tab # K("RC-Super-o"): K("Shift-Enter"), # Open folder in new tab
K("RC-Comma"): None, # Disable preferences shortcut since none availabe K("RC-Comma"): None, # Disable preferences shortcut since none available
},"Overrides for Pantheon - Finder") },"Overrides for Pantheon - Finder")
# Keybindings overrides for Nautilus # Keybindings overrides for Nautilus
@@ -297,9 +298,9 @@ define_keymap(re.compile("org.gnome.nautilus|nautilus", re.IGNORECASE),{
K("RC-comma"): K("RC-comma"), # Overrides "Open preferences dialog" shortcut below K("RC-comma"): K("RC-comma"), # Overrides "Open preferences dialog" shortcut below
},"Overrides for Nautilus - Finder") },"Overrides for Nautilus - Finder")
# Keybindings overrides for PCManFM # Keybindings overrides for PCManFM and PCManFM-Qt
# (overrides some bindings from general file manager code block below) # (overrides some bindings from general file manager code block below)
define_keymap(re.compile("pcmanfm", re.IGNORECASE),{ define_keymap(re.compile("pcmanfm|pcmanfm-qt", re.IGNORECASE),{
K("RC-Backspace"): [K("Delete"),K("Enter")], # Move to Trash (delete, bypass dialog) K("RC-Backspace"): [K("Delete"),K("Enter")], # Move to Trash (delete, bypass dialog)
},"Overrides for PCManFM - Finder") },"Overrides for PCManFM - Finder")