Replies: 1 comment
-
You could try the approach I posted in #3839 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What Operating System(s) are you running on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
komorebi
WezTerm version
20240203-110809-5046fc22
Ask your question!
Actual question
Is there a way to set the padding to 0 only when I have neovim open in the active tab?
Background
I often have neovim in one tab and a development server running in another. When Im in the neovim tab I want 0 padding, but when i go the powershell tab with my dev server running I want 8px padding.
I've seen some gh issues mentioning the same, but the best solution I found was to use the "VimEnter" and "VimLeavePre" events to set change padding. The issue is that I often leave neovim running while i open another tab. Since I never left vim my padding is still set to zero.
I've also tried using
pane:get_foreground_process_name()
to check if neovim is currently open in the active tab, but this usually gives me the path to eg. "node.exe" which would be the same as when running a node command in powershellBeta Was this translation helpful? Give feedback.
All reactions