Suggestion - change space to "page down" · Issue #50 · wagoodman/dive (original) (raw)

Thanks to @akshaychhajed for writing the left/right "arrow stuff" !

Another recommendation, is that in the "xxx Layer Contents" view, "space" should be used as a "page down" key, similar to using "less" or "more" to page through the contents of a file. I am not sure what other file browsing interface makes me think to use space to scroll down, so I will stick with less/more. I suppose you could enable "page up" and "page down" while you are at it, but space feels more natural for some reason, at least to me. :)

This may require a slight adjustment to the "left arrow" UI that was merged over the weekend, such that if you hit left arrow on an expanded directory, it will compress it, if it is already compressed, you will move up to the parent directory. If this is too complex (overloading the left arrow too much), maybe we could select a different modifier?

~tommy