Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

File/folder delete hotkey

Open jjw24 opened this issue 1 year ago • 5 comments

Discussed in https://github.com/Flow-Launcher/Flow.Launcher/discussions/2867

Originally posted by AlanEdd July 31, 2024 Just wondering is there any delete hotkey, to delete a file or folder in context in the search results ? It would be handy to have Shift+Delete rather than, going to the context menu and so on.

Thanks Alan.

jjw24 avatar Aug 21 '24 03:08 jjw24

I agree with this!!!!! Also, I've noticed that interacting with context menus often causes the Flow Launcher search window to disappear, even though it should ideally stay open. For example, when deleting a file or using FileLocksmith (PT) from the context menu, the window closes. This behavior seems to occur with most context menu actions.

A few other adjustments I'd suggest:

  • Add CTRL+X for cutting files/folders.
  • Enable the Alt+Enter shortcut with both left and right Alt keys.
  • Add Alt+Shift+Delete for permanently deleting files.
  • Restrict these shortcuts to Explorer-related results to avoid conflicts with user-created hotkeys.

Adding these features with improve the overall usability of the aformentioned features

nanoraptor avatar Aug 21 '24 17:08 nanoraptor

Add Alt+Shift+Delete for permanently deleting files.

Currently we only have permanent delete. Move to recycle bin is a potential enhancement.

VictoriousRaptor avatar Aug 22 '24 05:08 VictoriousRaptor

Currently we only have permanent delete. Move to recycle bin is a potential enhancement.

The original suggestion was to enable shift+del for deleting file and folders. I added that alt+shift+del keybinding should enable permanently delete.

nanoraptor avatar Aug 22 '24 07:08 nanoraptor

Perhaps use del key for moving to recycle bin?

jjw24 avatar Aug 23 '24 07:08 jjw24

Perhaps use del key for moving to recycle bin?

If the cursor or caret was anywhere other than the end of the query in flow's search window, then it will delete the letters instead in query box instead of deleting the file. But implementing this by removing the del key's original function would be fine as I don't think most of the users use del key anyways

But, if the caret is at the end of the query, delete key for delete and shift+delete for permanently delete sounds perfectly fine. We can also force shift the caret to the end of the query when delete key is pressed while a explorer result in focus. For other non explorer queries, the function of delete key should function as usual.

nanoraptor avatar Aug 23 '24 07:08 nanoraptor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar Oct 23 '24 01:10 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar Oct 30 '24 02:10 github-actions[bot]