overwrite ctrl+r command to something else.

Hi,

on file manager, I would like to change the behavior of renaming a file with a shortcut to something else which is not ctrl+r/ cmd+r which is normally used for a page reload.

Hi, yes, you can do that by redefining AddHotkeys() of views[“sections/dataview”]. Also do not forget to update grey labels on the context menu (views[“menus/menubody”]), you can change them by redefining config() method of that class.

Hi, here’s a snippet. Code Snippet I haven’t changed the key, but the sample gives you the idea how to do this. Also sorry about redefining AddHotkeys() of views["sections/dataview"]. In truth, you cannot extend views[“sections/dataview”], you have to extend its descendants (List and Cards). Since views[“sections/dataview”] is not used in UI directly, the Jet logic that makes overrides work will not work in this case.