Like the existing F10 shortcut to create directories, this patch
adds a new shortcut to create files. The proposed default is Shift-F10.
Depends on D16412
|11 ↗||(On Diff #44179)|
FYI: there is no time for KF5 5.52 (released on November 10th) in Applications 18.12 (dependency freeze is on November 8th).
If you want to ship this feature with 18.12, we'll have to go with #ifdefs
Please call it createFileTriggered() (I just pushed a patch that renames the createDirectory() signal).
This patch (together with D16412) links the shortcut to the first entry in the Create New list, and that list can be modified by adding entries: https://j605.tk/blog/post/shorts/new-templates-in-dolphin/
It is a feature not easy to discover but it exists :) There are some bugs open to improve the situation: https://bugs.kde.org/show_bug.cgi?id=400263.
I'm not super enthused about shift+F10 being the shortcut, but +1 on the feature!
What would be even better would be if the entire list were populated with keyboard shortcuts automatically, e.g. ctrl+shift+1, ctrl+shift+2, ctrl+shift+3, etc.