neovim-qt: Can't start maximized

I am using neovim with qt-neovim (linux arch). On gvim i could launch a maximized window with:

if has("gui_running")
    set lines 999 columns 999
endif

That is not working now tho. I tried removing the condition with no success. Is there any way i can achieve that?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 19 (12 by maintainers)

Commits related to this issue

Most upvoted comments

From #114 call GuiWindowMaximized(1) to set as maximized. The current state in g:GuiWindowMaximized.

@khalidchawtany for fullscreen its the same, just replace with GuiWindowFullScreen

Is there any advantage for me compiling it? I’m just using an executable from the releases page…

Same as every other piece of software, you get to test the newest changes and broken bits before anyone else 😄.

@cdvv7788 not forgotten, I’ve got a working command line options for this in #109, but maybe we can do something similar with a global option

@dseeni these are described in the docs. Just call :h nvim-gui-shim.