Replace save buffer with clipboard struct (#2082)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-08-07 19:27:17 +10:00
1 parent 5ad11bdc84
commit edc5d977cd
7 files changed
+69 -60

No files matched your search

+6 -4
View File
@@ -432,20 +432,22 @@ Select/unselect files that match the given glob.
## copy (default `y`)
If there are no selections, save the path of the current file to the copy buffer, otherwise, copy the paths of selected files.
Save the paths of selected files to the clipboard as files to be copied.
If there are no selected files, the path of the current file is used instead.
## cut (default `d`)
If there are no selections, save the path of the current file to the cut buffer, otherwise, copy the paths of selected files.
Save the paths of selected files to the clipboard as files to be moved.
If there are no selected files, the path of the current file is used instead.
## paste (default `p`)
Copy/Move files in the copy/cut buffer to the current working directory.
Copy/Move files in the clipboard to the current working directory.
A custom `paste` command can be defined to override this default.
## clear (default `c`)
Clear file paths in copy/cut buffer.
Clear file paths in the clipboard.
## sync