I'd like to be able to quickly skip to the bottom of a cascade of otherwise empty directories. Consider the following directory structure:
foo/
bar/
baz/
a.txt
b.txt
If I were in foo/
with helm-find-files
, I'd like to get to baz/
quickly. I can think of two possible solutions.
Somehow configure helm to provide a shortcut to
baz/
when infoo/
, so the find file buffer might look like:. .. bar/baz bar
And
bar/baz
is maybe marked in a different color.Have the active selection automatically set to the first member of the current directory instead of
.
, i.e.. <-- selection is usually here after entering a new directory .. one/ <-- instead, automatically highlight this two/ three.txt
That way,
baz/
is two keypresses fromfoo/
.
If I could implement both of these then I'd really be flying. I tried helm-ff-auto-update-initial-value
but did not find it useful. You still have to type the first three letters of the directory to enter it automatically. Actually typing even just one character of the directory is not satisfactory. Hiding .
and ..
has been proposed but is a hack and not supported by the developers, see here and here.