Enhance Kitty Tab Bar Appearance and Add "New Tab in Current Directory" Shortcut and Add commented guides to minimize latency in kitty #490
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.
feat: add Kitty tab bar styling and add new tab shortcut
Pull Request
Description
Summary of Changes:
This pull request refines the Kitty terminal's appearance with minimal tab bar styling and introduces a more intuitive keyboard shortcut (Ctrl+Shift+T) for opening a new tab in the current working directory.
Motivation and Context:
The default Kitty tab bar appearance was considered less visually appealing. This change implements a minimal styling to improve its aesthetics by placing it at the bottom, using a powerline style with slanted separators, and displaying the number of windows when relevant.
Additionally, a new keyboard shortcut (Ctrl+Shift+T) has been added to open a new tab within the current working directory. This provides a more direct and commonly expected behavior for users who frequently need to open new tabs in the same location. While the default $mod+t shortcut remains available for opening a new tab with the default behavior, Ctrl+Shift+T offers a more relatable alternative for this specific use case.
The commented-out lines related to performance optimization are taken directly from the official Kitty documentation (https://sw.kovidgoyal.net/kitty/performance/) and were included for potential future experimentation with latency reduction. They are not active in this commit.
Dependencies:
No new dependencies are introduced by this change.
Type of change
Please put an
xin the boxes that apply:Checklist
Please put an
xin the boxes that apply:Screenshots
Additional context
In some kitty colorschemes (themes) the default tab bar title was unreadable, this PR also fixes it