feat(clipboard): pasting from system clipboard can delete original (cut) (#649)

* feat: cut_from_system_clipboard

* refactor: shuffle some code around

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
This commit is contained in:
Steve Walker 2025-10-16 01:36:37 +08:00 committed by GitHub
parent 64dbcaa91d
commit f55ebb0079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 51 additions and 6 deletions

View file

@ -575,6 +575,9 @@ parent *actions.paren
paste_from_system_clipboard *actions.paste_from_system_clipboard*
Paste the system clipboard into the current oil directory
Parameters:
{delete_original} `boolean` Delete the original file after copying
preview *actions.preview*
Open the entry under the cursor in a preview window, or close the preview
window if already open