Closed newptcai closed 3 years ago
In my vimrc, I have the following line
autocmd GuiEnter * silent! call system('wmctrl -i -b add,maximized_vert,maximized_horz -r '.v:windowid)
This automatically maximizes gvim window on startup. But this does not work for gnvim, because v:windowid is 0 in gnvim. So is there a way to get the actual windowid?
gnvim
v:windowid
Gnvim doesn't currently report any window handles to nvim. So its not possible to get the window id of gnvim's window through v:windowid.
In my vimrc, I have the following line
This automatically maximizes gvim window on startup. But this does not work for
gnvim
, becausev:windowid
is 0 in gnvim. So is there a way to get the actual windowid?