Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions doc/man/mc.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ look at the section on
Left and Right Menus\&.
.\"Left and Right Menus"
.TP
.B Tab, C\-i
.B Tab, C\-i, left\-key, right\-key
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?

Copy link
Author

@DrinkDregs DrinkDregs Nov 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assumed that since it is possible to change the active panel using the left and right arrow keys, you would want this documented.

I copied up-key and down-key from elsewhere in the document as the existing convention for notating arrow keys.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get it either. Left / Right arrow keys do not switch to the other panel for me. They walk left-right in the command line, or if Lynx-style navigation is enabled then enter/leave a directory.

Is there a setting for this behavior that I've missed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the command line hidden.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed; if command line is hidden and Lynx-style navigation is disabled then left/right arrows also switch panels.

Unless we want to be super pedantic about documenting every slightest bit of the behavior (which I don't think we want), I think we should simply leave out these hotkeys from the documentation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like quite the misfeature in the first place. who'd want such inconsistent behavior?

change the current panel. The old other panel becomes the new current
panel and the old current panel becomes the new other panel. The
selection bar moves from the old current panel to the new current
Expand Down Expand Up @@ -1216,6 +1216,13 @@ Used to unselect a group of files. This is the opposite of the
.I "Select group"
command.
.PP
.B Invert selection (*)
.PP
Select (tag) all items that are currently unselected, and unselect
(untag) all items that are currently selected. Applies to only files
or to both files and directories, depending on whether 'Reverse files
only' is enabled.
.PP
.B Quit (F10, S\-F10)
.PP
Terminate Midnight Commander. S\-F10 is used when you want to
Expand Down Expand Up @@ -1985,11 +1992,8 @@ If enabled, the selection bar will move down when you mark a file (with
Insert key). Enabled by default.
.PP
.I Reverse files only.
Allow revert selection of files only. Enabled by default.
If enabled, the reverse selection is applied to files only, not to directories.
The selection of directories is untouched. If off, the reverse selection
is applied to files as well to directories: all unselected items become
selected, and vice versa.
If enabled, 'Invert selection' in the File menu will apply to only files
rather than to both files and directories. Enabled by default.
.PP
.I Simple swap.
If both panels contain file listing, simple swap means that panels exchange
Expand Down