Ticket #2721 (new enhancement)
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 13 years ago by andrew_b
- Priority changed from major to trivial
comment:2 in reply to: ↑ 1 Changed 13 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 8 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 8 years ago by zaytsev
It's an xterm thing, see:
http://invisible-island.net/xterm/xterm.log.html#xterm_277
and
http://invisible-island.net/ncurses/ncurses.faq.html#bash_meta_mode
Specifically, you need to set eightBitMeta=false .
Use alt-. (alt-dot) to show/hile hidden files.