vim-node-inspect icon indicating copy to clipboard operation
vim-node-inspect copied to clipboard

Enhancement request: window layouts

Open eavdmeer opened this issue 1 year ago • 0 comments

Not sure how active development currently is, but I do like what I see after trying the plugin. One thing bothers me, however. You have the nodeinspect_window_pos, that can go right, left or bottom and top(?). In both cases, you use an equal split either horizontally or vertically. If nodeinspect_window_pos is left or right, using an equal split makes sense. However, when using top or bottom, splitting the space in 3 does not make that much sense, as both the stack trace and the console log usually contain pretty wide output, while the watch window can use a much narrower layout. However it would benefit from extra height if you have a lot of watches.

Can you make the bottom/top layout like this:

___________________________
CODE

___________________________
STACK           |   WATCH
________________|
CONSOLE.        |
________________|___________

Pardon my drawing skills.

I will have a look at the code myself, but I'm no hero with vimscript, even though I've used vi(m) for 30 years

eavdmeer avatar Aug 14 '24 07:08 eavdmeer