Adjust spacing between prompt elements interactively (like in Powerlevel10k)
Is your feature request related to a problem? Please describe
I'm using fish through the kitty terminal emulator. kitty allows for users to manually map a Unicode codepoint to a font. However, this tends to affect spacing between icons and associated text. This makes some icons feel too close to the text.
Describe the solution you'd like
powerlevel10k allows zsh users to adjust the spacing between icons and text in their interactive configuration script. Would it be possible to add a similar configuration option for tide?
Additional context
Here is my debug information:
fish version: 3.5.1
tide version: 5.3.0
term: xterm-kitty
os: macOS 12.5
terminal emulator: Kitty
fish startup: 129.92 millis
fisher plugins: ilancosman/tide@v5 reitzig/[email protected] patrickf1/fzf.fish dracula/fish patrickf1/colored_man_pages.fish jorgebucaran/nvm.fish
I'm new to using fish and tide but I'd love to contribute if this seems like an appropriate feature.
Let me note that I have the same issue.
Note: For me, a workaround is to use a variant of nerd fonts with monospace/single-width glyphs. These variants are called NFM ("Nerd Fonts Mono"). But this is not great either: While the spacing is okay then, icons tend to tiny because they are to be scaled to a single glyph.
As a somewhat better workaround, I simply added a space ("\x20") after every icon in fish_variables relevant for me, e.g.,
-
tide_git_icon -
tide_jobs_icon -
tide_pwd*_icon(multiple)