this post was submitted on 14 Mar 2024
1 points (100.0% liked)

Neovim

2155 readers
1 users here now

founded 1 year ago
MODERATORS
 

Really enjoying nvim-dap-ui lately, but I always have to adjust the sizes of the windows. The docs have left me high and dry so far, but maybe one of you have a good solution for a consistent layout when you first attach to a file?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 0 points 7 months ago (1 children)

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.

[โ€“] [email protected] 0 points 7 months ago

That's a good idea. Really the problem is that the repl is too narrow so it might not be too hard.