You are not logged in.

#1 2022-04-16 09:31:37

Alataw
Member
Registered: 2021-01-27
Posts: 20

Midnight Commander: Question about a command

How to display two panels in the same directory?
For example, in Double Commander it:
1) Swap panels Ctrl + U
2) Target = Source Alt + Z

How to execute the second command in Midnight Commander?

Thanx!

Offline

#2 2022-04-16 12:21:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,205

Re: Midnight Commander: Question about a command

Alataw wrote:

How to display two panels in the same directory?

Not 100% sure , but do you want both panels to show the same directory ?

In that case alt + i would work.

PanelOtherSync	Alt-i	make the current directory of the current panel also the current directory of the other panel 

See https://midnight-commander.org/wiki/doc/common/actions


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-04-18 17:28:09

Alataw
Member
Registered: 2021-01-27
Posts: 20

Re: Midnight Commander: Question about a command

Lone_Wolf wrote:

Not 100% sure , but do you want both panels to show the same directory ?

In that case alt + i would work.

PanelOtherSync	Alt-i	make the current directory of the current panel also the current directory of the other panel 

See https://midnight-commander.org/wiki/doc/common/actions

Thanks a lot!

And how can I assign another key combination for this? I could not find it in  Midnight Commander manuals.

Offline

#4 2022-04-19 11:49:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,205

Re: Midnight Commander: Question about a command

Check the man page for mc , section 'redefine hotkey bindings' .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB