Comments (5)
@TJM I think adding a page up/down feature to the file tree would be great. However, the most intuitive keys would be the PgUp and PgDn keys. Typically the "space" keybinding for an application that pages only allows one direction, where here we should be allowing for two directions (maybe shift+space? but I haven't seen precedence for that).
Though, I just opened up #51 (based on your comment in #41) which would allow you to override any keybinding... which means you'd be able to remap pagination and toggle collapse as you wish (the only thing you wouldn't be able to do is collapse on navigate).
from dive.
@TJM from what i understand you are suggesting 2 modifications in "Layer Contents" view
- Ability to scroll using PgUp and PgDn/Space keys.
- Overload Left Arrow to close directory. (Also suggested by @DomHudson in #46 (comment))
I will take a look.
from dive.
Actually, I am primarily suggesting using "Space" as a "Page Down" ... which would necessitate "2" above. I don't actually have "physical" page-up or page-down keys on my laptop, but think it would be logical for them to work, if you write the function to handle "space" as page-down, you could also bind the physical page-down key to it.
from dive.
From what I saw in "less" keybindings, it uses f for PgDn and b for PgUp.
Yes, we could always add more keybindings for the feature.
Let me see if I can get the feature in.
We could always discuss which keys to assign for them.
from dive.
The problem is there are soo many tools out there, and it depends on which ones you commonly use as to which shortcut keys are "natural" to you. If the PageUp/PageDn capability exists, mapping space to engage pagedn should be simple, as you have noted. :)
Thanks!
Tommy
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.