Uh oh!
There was an error while loading. Please reload this page.
Add macaction to maximize the window. - #885
Conversation
chdiza
commented
Apr 25, 2019
Is this different from the already-existing Also, what's wrong with just doing the following? |
juliuszint
commented
Apr 25, 2019
There is also the possibility to add the following line to your .gvimrc |
digicannon
commented
Apr 25, 2019
Maximize is not fullscreen. |
That autocmd does work 100%, but it feels hackish to me. I'd prefer a more clear command. |
eirnym
commented
Apr 26, 2019
AFAIK, MacVim preserves last used size if nothing changes it manually. Returning to your implementation, I'd prefer to make it to restore "last used size if maximised" like it was done in |
I'm hesitant to add this because we already have What's more concerning is that Edit: Also, we should probably not call it "perform"-something as that's a macOS thing. "performZoom:" means pretend to hit the zoom button. We already have a macaction called |
Many Vim users, myself included, prefer to start Vim in a maximized window state. For this, I have added the performMaximize: macaction. This allows the following to be added to a vimrc:
autocmd GUIEnter * macaction performMaximize: