Add macaction to maximize the window.#885
Add macaction to maximize the window.#885digicannon wants to merge 1 commit intomacvim-dev:masterfrom
Conversation
|
Is this different from the already-existing Also, what's wrong with just doing the following? |
|
There is also the possibility to add the following line to your .gvimrc |
Maximize is not fullscreen. |
That autocmd does work 100%, but it feels hackish to me. I'd prefer a more clear command. |
|
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: