Help with enabling ligatures on nvim invoke/disabling on nvim exit #7695
-
I'm trying to make kitty behave such that ligatures are disabled while at the prompt and automatically set to
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I should note that I'm on zsh 5.9 and found out that it works just fine on fish, both questions becoming irrelevant. So leaning towards a misconfig on my end, still trying to figure out where. |
Beta Was this translation helpful? Give feedback.
-
After a bit more digging around, I found out that:
Log when invoking kitty and launching/exiting nvim in the spawned window
shell_integration disabled:
|
Beta Was this translation helpful? Give feedback.
-
Just have nvim set a user variable in kitty on launch and key your watcher to that. See https://sw.kovidgoyal.net/kitty/mapping/#conditional-mappings-depending-on-the-state-of-the-focused-window this is doing conditional key mapping but the principle is the same for a watcher. |
Beta Was this translation helpful? Give feedback.
-
That does work very well for this use case, so marking For those that find themselves here with the same issue and want to know the root of it, however, it's just p10k currently not yet supporting kitty's cmdline extension. PR is over here: romkatv/powerlevel10k#2741. |
Beta Was this translation helpful? Give feedback.
Just have nvim set a user variable in kitty on launch and key your watcher to that. See https://sw.kovidgoyal.net/kitty/mapping/#conditional-mappings-depending-on-the-state-of-the-focused-window
this is doing conditional key mapping but the principle is the same for a watcher.