this post was submitted on 14 Mar 2024
10 points (91.7% liked)
Neovim
2161 readers
3 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I just use the defaults, but you might be able to do something with auto commands.
Detect when the window you want opens and resize it with the regular vim commands or lua.
That's a good idea. Really the problem is that the repl is too narrow so it might not be too hard.
I see. Yeah that can sometimes be annoying, but I personally find in my debug sessions that I don't use it a lot. There's just a lot of windows if you activate the debug ui.
What helps me is using a different tab to set breakpoints and browse my code. In the debug view I resize my windows so that the code browser only shows a very small window so that I can see where it jumps around. Code that I want to actually read is in the other tab.