Add a preference to hide the working-directory row - #109
Merged
Conversation
Multi-root conversations added a "supertab" row above the conversation tabs (and a collapsed #cwd-row stand-in, plus a toolbar chevron to bring it back) for picking which working directory a conversation belongs to. For a user who only ever works in one folder, that's pure vertical space spent on a feature they never use — some people really want that screen real estate back for work. Add PREF_HIDE_ROOT_DIRECTORIES_ROW (off by default, since multi-root is the new upstream behavior and this is an opt-out). When on, it hides the row, the collapsed stand-in, and the "show it again" chevron together — a deliberate, preference-level opt-out with no in-page way back, distinct from the existing per-session supertabsVisible toggle. Applies live via a property-change listener, mirroring the existing statusline preference listener.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a preference to fully hide the row used for picking which folder a conversation runs in, including its collapsed stand-in and toolbar toggle.
Gives that screen space back to anyone who only ever works in a single folder.