-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
editor.bufferline = "multiple"
should be default
#5316
Comments
other than that: |
Tabs are covered in #2295. The bufferline is a way to display all currently open buffers but tabs allow you to have different sets of open buffers. |
as i am not much proficient in helix at the moment, i am closing this for the moment. if i still feel its need after i become good in helix, then i'll reopen. meanwhile, if someone else wants to reopen this, feel free. |
ohwww, so, buffers corresponding to unsave files are discarded automatically on going to some other buffer??? like i was in a buffer? i opened a new buffer via say is that expected? |
i retried, and no, the previous buffer is staying there. but i am sure it was getting dumped... i am thinking it is a bug. but can't reproduce it consistently |
i think it's the unmodified buffer that gets dropped... unmodified.buffer.getting.dropped.in.helix.wezterm-gui_4CmjhewISQ.mp4 |
This #5257 might help me understand difference between buffers and tabs a bit more |
Some definition first a buffer is the underlying representation of a file(which is called a document in the code), there is one buffer per file which but there can be multiple different windows(views in code) which are the vsplits and hsplits, these can look at the same buffer and lets you have different positions and selections for the same file This thing though is specific to the scratch buffers where if they haven't been edited they get removed when you switch the buffer in the window to a buffer that is not the unmodified scratch buffer, the tutor is basically a special scratch buffer and as you didn't modify it, it got removed when switching to a different buffer. |
+1 editor.bufferline = "multiple" should be default It took me a day to figure this out and set "multiple" in the config file. What's the point to keep "never" as default if most people will set it to "multiple" anyway? Time wasted. |
hi @sgon00
|
Hi @yashpalgoyal1304
|
yes, it's perfectly fine. I don't care about it either haha 😃 the thing is, the tab feature is not there yet. when the tabs will arrive, sure we can have discussions on having the tab bar enabled on multiple by default. devs have a point of not enabling the buffer bar by default - as if it's enabled by default, they'll have to see users like you and me complaining about buffers not working well etc. etc... and they'll have to clarify it again and again. |
multiple
should be default?!Reference:
helix/book/src/configuration.md
Line 58 in ebaf019
[editor]
Sectionbufferline
open buffers. Can be
always
,never
ormultiple
(only shown if more than one buffer is in use)never
The text was updated successfully, but these errors were encountered: