From b27e4ce2b2fbc4f2a46106b3c59db32fb8be48ea Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 22 Mar 2021 11:43:53 -0700 Subject: [PATCH] keys: CMD-Q for QuitApplication is now a default on macos --- config/src/keyassignment.rs | 5 ++++- docs/changelog.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/src/keyassignment.rs b/config/src/keyassignment.rs index 329b946bb..032ed58a5 100644 --- a/config/src/keyassignment.rs +++ b/config/src/keyassignment.rs @@ -438,7 +438,10 @@ impl InputMap { ); #[cfg(target_os = "macos")] - k!([Modifiers::SUPER, KeyCode::Char('h'), HideApplication],); + k!( + [Modifiers::SUPER, KeyCode::Char('h'), HideApplication], + [Modifiers::SUPER, KeyCode::Char('q'), QuitApplication], + ); } if !config.disable_default_mouse_bindings { diff --git a/docs/changelog.md b/docs/changelog.md index 16e5385bd..4b0052ffb 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -21,6 +21,7 @@ brief notes about them may accumulate here. * Fixed: font fallback on macOS returns unresolvable `.AppleSymbolsFB` rather than `Apple Symbols`, leading to slowdowns when rendering symbols [#506](https://github.com/wez/wezterm/issues/506) * Fixed: laggy repaints for large windows particularly on Windows, but applicable to all systems. Tuned and triple-buffered vertex buffer updates. [#546](https://github.com/wez/wezterm/issues/546) * Changed: [allow_square_glyphs_to_overflow_width](config/lua/config/allow_square_glyphs_to_overflow_width.md) now defaults to `WhenFollowedBySpace` and applies to more symbol glyphs. [#565](https://github.com/wez/wezterm/issues/565) +* Changed: macOS: `CMD-Q` is now bound by default to [QuitApplication](config/lua/keyassignment/QuitApplication.md) ### 20210314-114017-04b7cedd