Home > bash > Midnight Commander tips

Midnight Commander tips

Copy the name of the current file to the mini shell:
“Esc+Enter” (i.e. press Esc, release, then press Enter)

I already knew this. Here are some new ones that I learned today:

The one above has an alternative shortcut:
“Ctrl+Enter”

Paste to the shell the path of the selected panel:
“Esc+a” or “Ctrl+x p”

Paste to the shell the path of the unselected (other) panel:
“Esc+A” or “Ctrl+x Ctrl+p”

These are actually in the man page, so it would be a good idea to read it once :)

Thanks to Andrew B. on the mc mailing list.

About these ads
Categories: bash Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.
Follow

Get every new post delivered to your Inbox.

Join 62 other followers

%d bloggers like this: