Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better narrow fold column display options #6001

Open
alercah opened this issue Apr 27, 2020 · 1 comment
Open

Better narrow fold column display options #6001

alercah opened this issue Apr 27, 2020 · 1 comment

Comments

@alercah
Copy link

alercah commented Apr 27, 2020

Instructions: Replace the template text and remove irrelevant text (including this line)

Is your feature request related something that is currently hard to do? Please describe.
Currently, foldcolumn forces a tradeoff between screen real estate and usability/aesthetics, as a narrower column uses numbers to indicate too many nested folds, which is ugly and not super useable. There is not really good options for users who want a very narrow column.

Describe the solution you'd like
I would like to request two enhancements:

  1. Allow the fold and sign columns to be merged, displaying the signs if present, and otherwise the fold information.
  2. Allow nesting multiple folds into a single column for the fold column, like this:
+
|
|
+
|
|
|
-
|
-

Here, I use - to mark the bottom of the fold, but a proper 90 angle should probably be used for more clarity.

Describe alternatives you've considered
I considered trying to use fillchars, but it doesn't seem to have an option to turn the numbers off.

Additional context
There is currently work under way to allow the column to automatically scale with code depth, but this doesn't actually solve this particular problem.

@kevinhwang91
Copy link

Same here, also expect this feature. However, I have hacked src/screen.c by myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants