-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Show file name in tab if some or all files are in the same working directory #2
Comments
I personally don't really work this way, but I agree, it would be ideal to be more flexible here. Would adding the additional constraint that it only shows the file name if a tab contains just a single window still adequately cover your use case? |
Bigger picture, I'd also be curious to hear what your ideal tabline would look like. Do you even care about the current directory? I'm trying to get a feel for what different people find important and strike a balance in the default. |
I did a quick spike in the tab-filename branch. I'm not really happy with it yet but it's a start. |
Hi Tim, do be honest, I don't care about the current directory at all! Your suggested constraint sounds great and would cover at least my use cases. |
FWIW I find showing the current directory the
Another alternative is to extend |
I get not caring if the directories are the same but the second I start opening things across projects I find the file name super frustrating. I get paths like I'm awaiting feedback on the branch before proceeding further. |
I agree. Project name could be useful, but given that working directories may be window-specific, I have hitherto assumed that showing it in the tab could be misleading. But maybe not. |
In the event a tab has multiple per-window working directories, they'll all be shown, joined with commas. This works great but makes it less clear what to do with the file name in that case. The branch I created currently shows single window tabs like this, assuming the file is within the window's current directory:
I like this style, but it can get really verbose quick. There are also times where you still might want to see a filename but it decides to show the current directory. Here are a couple of variants I'm considering:
I am also struggling with how to make this configurable without getting too bloated. Shoehorning any one of these into |
Didn't work with multiple windows in a tab before, so I'm now understanding a little bit better your intention for having only the working directories in the tab mane. Makes totally sense to me. |
Working with a lot of files in the same directory, the tabs also show the identical working directory, which makes it really hard to remember which file is in which tab.
The text was updated successfully, but these errors were encountered: