You are not logged in.
it is possible in midnight commander cut some folder and then pasting it to the path with some keyshort? I know it can make with two panels using F6 , but that no solution to my question. I want to make it in one panel: in Left or in Right
example: path: /mnt/xhc/folder/misc - cut "misc" and paste it to /mnt/xhc/
Last edited by xhc (2012-06-07 07:59:34)
#Awesome window manager
Offline
Can you clarify the question. The two panel shortcuts are for just this sort of task. If you don't want the source and target open in the panels, you could just enter a command like `mv xhc ../xhc` but that would not be a shortcut. How would you want the keyboard shortcut to work: how should it know where to cut from and post to if not the two open panels?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
ok..keyshort is only example... question is: how make cut and paste file or folder in "one" the same panel (left or right)
#Awesome window manager
Offline
My question is the same: how would you expect the computer to know where to cut/paste from/to?
If you only have one panel, and you hit your shortcut key, what is the computer supposed to do: cut from that folder and paste back into that same folder??
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I want it like in pcmanfm for example... telling mc that this folder or file "cut" , then moving with keboard to another path but in the same panel, and then telling mc "now paste it here"
Last edited by xhc (2012-06-07 08:07:32)
#Awesome window manager
Offline
Have you bothered to read the man page?
F{5,6} seem to be what you are after...
Offline
jasonwryan F5-6 of course, but this is no solution to my question .... I can make mv command to bash, but I am asking to mc -way in the same panel
Last edited by xhc (2012-06-07 08:16:54)
#Awesome window manager
Offline
Ah, now I see. I haven't used MC in a while - I'm not sure if there is any easy way to do that. You could write your own script(s) and bind keys to them. But this would require a buffer to store the "cut" directory. I'm not sure MC has such a buffer.
You may want to check out Vifm or Ranger. Ranger is quite popular in the arch community, but personally I prefer Vifm. Vifm is very similar to MC, but *much* more flexible and powerful. (Ranger is also very flexible and powerful - but a different style as it isn't a two-pane style manager).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
thnx for tip.. I will try Vifm or Ranger
#Awesome window manager
Offline
If you try vifm, the behavior you describe is bound to "dd" to cut (or "yy" to copy) and "p" to paste by default. All the keybindings follow a vim-style, so 3d would cut the file under the cursor and the two below it, p pastes whatever was last cut or copied.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
nice ... and is vifm customiable like mc ... I have in mc panels more info like permissions, owner, times etc
#Awesome window manager
Offline
I've found it much easier to customize. Customization is different than MC, but vifm follows patterns of other good software like vim, and mutt, and various others. MC's customization is really a different beast all together.
So if you use vim in particular, vifm's customization will be a breeze. But if you haven't, it will seem a bit different than MC's config.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I am using vim so working in vifm will not to be problem ... only configuration like bookmarks, various extensions behaviour etc .. ok lets go to study :-)
Last edited by xhc (2012-06-07 08:52:27)
#Awesome window manager
Offline