Neovim-qt: Windows 10 starting window position

Created on 9 Jan 2019  路  3Comments  路  Source: equalsraf/neovim-qt

How can we set the default window position on screen when opening Neovim-qt? Whenever it opens it always opens in the same undesired position and I end up moving it with the mouse. I know you can set window size using the -geometry flag when starting neovim-qt. Is there something similar we can do for initial position?

I always want the window to open centered on my screen. Remembering the last window position would also work. I don't want it to start full screen.

Using Windows 10.

Most helpful comment

Cheers,

Does -qwindowgeometry 100x100+50+50 work for you?

All 3 comments

Cheers,

Does -qwindowgeometry 100x100+50+50 work for you?

Indeed it does, thanks! Is that documented anywhere? Might be worth including with the nvim-qt.exe --help text

Windows quirk: -qwindowgeometry has the annoying side effect of undocking the task bar icon from the pinned icon, which means you can't use the win+number shortcuts to switch between your favourite applications.

I wonder if that has something to do with the shortcut having the extra flag in the target but the opened application having the program path without the flag, so the task bar treats them as different applications

EDIT: If you start the program from a desktop shortcut/start menu/context menu with the flag, but the pinned taskbar shortcut doesn't have the flag, it groups the windows on the task bar

Was this page helpful?
0 / 5 - 0 ratings

Related issues

legendre6891 picture legendre6891  路  3Comments

gwerbin picture gwerbin  路  10Comments

HelloKashif picture HelloKashif  路  5Comments

jgehrig picture jgehrig  路  8Comments

f-squirrel picture f-squirrel  路  7Comments