Ticket #1502 (closed enhancement: wontfix)
key binding to copy from another dir
Reported by: | narcan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.7 |
Component: | mc-core | Version: | 4.7.0-pre1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
Hello,
This is an idea from our bugs tracking system:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496977
Baurzhan Ismagulov wrote:
"
IIRC, nc, or some of its clones, supported Shift-F5 to copy files where
you could type in the source one. It would be nice to have this feature
in mc. Like, I'd like to copy ../prj.OLD/a.c to %D.
"
Shift-F5 is already taken.
but maybe with another keybinding.
regards
Denis Briand
Change History
comment:3 Changed 15 years ago by ossi
i find the way f5 vs s-f5 is implemented questionable - relatively often i need both the target path and the old name as a template, which i can't have. but of course it makes little sense to have hotkeys for each permutation, and it's counterproductive to always have the old name in the target (as that changes the meaning if the target is a directory which already exists).
what i'd do instead is blowing away the current s-f5 and making a-enter work in the destination line edit like it does in the panel, i.e., insert the current file name. that would also free up s-f5 for a copy dialog with an editable source location.
of course, all of the above applies equally to f6/s-f6.
comment:4 in reply to: ↑ 2 Changed 15 years ago by iNode
Replying to ossi:
Replying to iNode:
cp ../prj.OLD/a.cp %Dthat doesn't work if remote files are involved via VFS.
Yes. Thanks for remark.
Also use M-enter it's good idea, but I think request is not about it.
I suppose it's about copying files from another catalogs and %D/%s/etc substitution.
So, wait for ticket starter.
comment:5 follow-up: ↓ 6 Changed 15 years ago by narcan
I think the request is:
-you have a ../test/file.ex
-you haven't test/ dir opened in any panels
-and you want to copy file.ex to the current panel directory.
the question is also: why not use panels ? why a keybinding?
I've just need your advices to give an answer to this user.
thank you
Denis Briand
comment:6 in reply to: ↑ 5 Changed 15 years ago by andrew_b
Replying to narcan:
I think the request is:
-you have a ../test/file.ex
-you haven't test/ dir opened in any panels
-and you want to copy file.ex to the current panel directory.
IMHO, this is not in 2-panel filemanager ideology. You have 2 panels and you can manipulate by objects that are visible in panels. How khow about ../test/file.ex if that file and directory is not visible in panels?
Please describe request more detailed.
It's work now. Do you want it's equivalent in file copy dialog?
Thanks.