Skip to content

Set width of explorer to a maximum width and allow to shrink down depending on length of paths #1

@joereynolds

Description

@joereynolds

Currently you're using vnew which is fine but it takes up half the available screen space. I think it could be more intelligent and create a new buffer from the width of the open buffers.

For example if my open buffer is:

└─ home
   └─ joe.reynolds
      └─ code
         └─ helloHeaps
            └─ 7-scrolling-camera
               ├─ ◎ Main.hx ⇒ 1
               ├─ • 50 ⇒ 8
               └─ • Player.hx ⇒ 5

Then really, the width should be the longest line on this buffer (I think 34).
It'd make sense to constrain this too so you don't get ridiculously small or big buffers.

Just a thought

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions