commit 743c4c7e470065a3ba859e36856fd10a734234c4 Author: Stephan Witt <sw...@lyx.org> Date: Sun Aug 6 17:07:39 2023 +0200
#11765 map Command-w like modern apps do - close current view - on Mac --- lib/bind/mac.bind | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/bind/mac.bind b/lib/bind/mac.bind index 7e4dc93..fb4770b 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 -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs