From 743c4c7e470065a3ba859e36856fd10a734234c4 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 6 Aug 2023 17:07:39 +0200 Subject: [PATCH] #11765 map Command-w like modern apps do - close current view - on Mac --- lib/bind/mac.bind | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5