zed icon indicating copy to clipboard operation
zed copied to clipboard

Decrease the space between the line numbers and code

Open fatih opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

Hi, I've added a picture. The space between the line numbers and the code is a lot. Is there a way I can make it smaller or remove it? I checked the settings, but I couldn't find anything yet. I love to use every single amount of space, and coming from Vim/NeoVim this is one of the UI changes that feels weird for me.

ScreenShot-2024-01-26-10 08 25@2x

Thank you!

If applicable, add mockups / screenshots to help present your vision of the feature

No response

fatih avatar Jan 26 '24 07:01 fatih

@fatih! Nice to see you here! To clarify: do you want to remove the fold-gutter completely or just remove its paddings/margings?

Because that's what's taking up most of the space: screenshot-2024-01-26-09 43 44@2x

(Based on assumption that in your screenshot we're looking at parts of a import () statement in Go with the imported packages being indented.)

mrnugget avatar Jan 26 '24 08:01 mrnugget

Hi @mrnugget 👋🏼

Yeah I see now what you mean. TIL about the fold-gutter. I never use folds (even in Vim), so I wonder if I can disable them completely. So basically I want to remove this padding completely:

ScreenShot-2024-01-26-13 48 37@2x

I searched in https://docs.zed.dev/configuration/configuring-zed for the keyword "fold" but couldn't find any references yet.

fatih avatar Jan 26 '24 10:01 fatih

This is now fixed and properly implemented with https://github.com/zed-industries/zed/pull/7665. Closing this.

fatih avatar Feb 23 '24 11:02 fatih