Skip to content
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 File.Close support for terminal which also makes it work for Cmd-W #1310

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

ychin
Copy link
Member

@ychin ychin commented Oct 9, 2022

Since Vim upstream added support for :confirm q for terminals, we can now get our File.Close menu to work properly for them as well. This also means Cmd-W (which is bound to that menu item) works too.

Also just add validateMenuItem: for MMAppController even if we are just returning YES. This makes it semantically clearer and is easier to debug.

Since Vim upstream added support for `:confirm q` for terminals, we can
now get our File.Close menu to work properly for them as well. This also
means Cmd-W (which is bound to that menu item) works too.

Also just add validateMenuItem: for MMAppController even if we are just
returning YES. This makes it semantically clearer and is easier to
debug.
@ychin ychin added this to the Release 175 milestone Oct 9, 2022
@ychin ychin merged commit bb4c48a into macvim-dev:master Oct 9, 2022
@ychin ychin deleted the macvim-file-close-terminal branch October 9, 2022 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant