Article 6R5G6 Renaming files in midnight commander (mc) with custom hotkey?

Renaming files in midnight commander (mc) with custom hotkey?

by
chconnor
from LinuxQuestions.org on (#6R5G6)
In midnight commander, you can use F6 to move a file, and shift-f6 brings up the same move dialog but the destination is in the same directory, so shift-f6 is the recommended way to rename files in place.

I don't like function keys, so I have a custom ~/.config/mc/mc.keymap that contains:

Code:Move = f6; alt-m...so I can use alt-m to move files instead of f6. The trouble is, I can't figure out how to get this magical "move file, but to origin directory" operation that shift-f6 brings up. alt-shift-m does not work to bring up that special dialog version.

In /etc/mc/mc.default.keymap, there is no mapping for shift-f6 anywhere... it seems as if the shift-F6 functionality is not available to be customized? Does anyone know different?

Thanks!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments