rohit-px2 / nvui

A modern frontend for Neovim.
MIT License
1.72k stars 49 forks source link

Cannot customize winsize when startup #113

Closed RnYi closed 2 years ago

RnYi commented 2 years ago

I read the doc and found no way to predefine window size. I also tried set lines=, but didn't work.

rohit-px2 commented 2 years ago

Try --geometry={rows}x{cols}, it sets the number of rows and columns it should display, but it can be inaccurate since it's not based on the font you're using in Neovim.

rohit-px2 commented 2 years ago

I added the --size option on master to specify pixel size, so you can do for example nvui --size=1600x900 to start with a width of 1600 and a height of 900 pixels.