]> git.lyx.org Git - features.git/commitdiff
#11765 map Command-w like modern apps do - close current view - on Mac
authorStephan Witt <switt@lyx.org>
Sun, 6 Aug 2023 15:07:39 +0000 (17:07 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 6 Aug 2023 15:07:57 +0000 (17:07 +0200)
lib/bind/mac.bind

index 7e4dc939fd738d561529e6665b85d87360ec17ee..fb4770baf69f5636632234756dbde739f3eba3cf 100644 (file)
@@ -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