Comments (6)
One option would be to have the left key close the directory if your cursor is currently on a directory, otherwise go back to the parent folder. This way pressing left once will jump to the parent, pressing again would close it and repeat. You could keep pressing left and it would iteratively jump higher and close the directories.
from dive.
Thanks! I agree with your idea for the right arrow, after #43 was merged (v0.0.8) I was thinking the same thing. Essentially the right key should traverse deeper into the file tree, expanding when necessary.
Though I feel like the left key should leave directories expanded as they are and simply navigate back up to the parent directory.
from dive.
Just to maintain symmetry 😉, I will try.
from dive.
I was thinking something like "shift+left-arrow" if you want to navigate left, but leave it expanded?
from dive.
@DomHudson , your suggestion is tempting, but I feel that a file explorer expanding a dir on navigation makes sense, but closing on navigation is an extra mental leap. That is, usually the user is trying to see more content more quickly, not hide it more quickly.
However, I agree that there is room for improvement to make the file explorer more intuitive and in general add more user-friendly features (such as a simple search to jump a user to a matching file/path).
from dive.
Thank you very much for the quick turnaround!
from dive.
Related Issues (20)
- A snap for dive
- Alternative Image Location
- could not find image config HOT 23
- Unable to connect to docker.sock file while running dive HOT 6
- Do not mark base image files as inefficient files even it was installed through any dep
- 0.10.1 release was not completed HOT 4
- Dive always fail when trying to fetch local image HOT 9
- Can we do docker layer wise scan for vulnerability detection HOT 4
- Display --link COPY/ADD layers HOT 2
- Stay on filtered node
- Layers pane doesn't scroll when navigating to layer below visible region HOT 7
- Possibility to extend the efficiency rules by configuration
- Terminal prints broken on macOS with ko_KR locale HOT 3
- Can't inspect `docker:23.0.1` through podman
- Hotkeys: Jump to last/next folder
- Addition for README file
- Export dive information HOT 3
- Deploy arm32 binaries HOT 5
- Make project name less generic? HOT 2
- Generic build instructions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dive.