Ticket #2721 (new enhancement)

Opened 12 years ago

Last modified 7 years ago

Hotkey to toggle 'Hide none'

Reported by: guivho Owned by:
Priority: trivial Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Toggling 'Show backup files' and 'Show hidden files' requires following
keystrokes:

F9 Right Right Right P (b|h) O

or, starting from the right panel:

F9 Left P (b|h) O

It is a pity that there is no hotkey to toggle between two states
1) Hide none, regardless of the above settings
2) Hide backup and or hidden files as requested

Suppose that one's default setup is to hide backup as well as hidden
files, and that for some reason one needs to see all files. This
requires following input:

F9 Right Right Right P b h O

or

F9 Left P b h O

And this lengthy series of keystrokes has to be repeated to return to
the initial preferred setup.

That is 6 or 8 keystrokes to toggle in either direction, so in the worst
case, 16 keystrokes to toggle the desired visibility back and forth.

As far as I am concerned, this is the reason why I have a permanent
[hide none] setup, where I really would like to hide both backup and
hidden files during my normal operation.

One single hotkey to toggle [hide none] would be very convenient. It
would enable the easy switching between both states, and that is imho a
nice usability addition to the already extraordinary set of mc.

Change History

comment:1 follow-ups: ↓ 2 ↓ 3 Changed 12 years ago by andrew_b

  • Priority changed from major to trivial

Use alt-. (alt-dot) to show/hile hidden files.

comment:2 in reply to: ↑ 1 Changed 12 years ago by guivho

Replying to andrew_b:

Use alt-. (alt-dot) to show/hile hidden files.

That is exactly what I want, thanks so much!
I had read the F1 Help text very carefully, and did not find any mention of this feature...
So maybe it should be added somewhere in there.
Imho, it also deserves an entry in the Command menu

comment:3 in reply to: ↑ 1 Changed 7 years ago by cri

Replying to andrew_b:

Use alt-. (alt-dot) to show/hile hidden files.

This doesn't work in xterm (I get a ® character on the command line).

I know that Esc . will work, but I'm wondering if this a workaround for a bug that should be fixed, or its intended behaviour? (i.e. alt-stuff is not supposed to work in X)

comment:4 Changed 7 years ago by zaytsev

comment:5 follow-up: ↓ 6 Changed 7 years ago by zaytsev

Andrew, do you remember why this ticket is kept open, is this for a documentation change or adding a menu item?

comment:6 in reply to: ↑ 5 Changed 7 years ago by andrew_b

Replying to zaytsev:

Andrew, do you remember why

Of course no :).

Note: See TracTickets for help on using tickets.