-
-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add macaction to maximize the window. #885
base: master
Are you sure you want to change the base?
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: