From: Stephan Witt Date: Sun, 6 Aug 2023 15:07:39 +0000 (+0200) Subject: #11765 map Command-w like modern apps do - close current view - on Mac X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=743c4c7e470065a3ba859e36856fd10a734234c4;p=features.git #11765 map Command-w like modern apps do - close current view - on Mac --- diff --git a/lib/bind/mac.bind b/lib/bind/mac.bind index 7e4dc939fd..fb4770baf6 100644 --- a/lib/bind/mac.bind +++ b/lib/bind/mac.bind @@ -191,7 +191,7 @@ Format 5 # -: "Control-Command-V" # Apply formatting settings to the selected object (Paste Ruler Command) \bind "C-M-v" "primary-selection-paste" # +: "Command-W" # Close the frontmost window - modern applications map this to close tab or window if it's the last one -\bind "C-w" "buffer-close" +\bind "C-w" "view-close" # +: "Shift-Command-W" # Close a file and its associated windows - modern applications map this close window \bind "C-S-w" "window-close" # +: "Option-Command-W" # Close all windows in the application without quitting it