]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/mac.bind
Use << for raising 2 to power instead of ^
[lyx.git] / lib / bind / mac.bind
index ab76820286d7cdf07152e8175095beff4230314c..bceea69026d73c0bc4e60b60db89a41ee172946c 100644 (file)
@@ -101,6 +101,7 @@ Format 4
 #  -: "Shift-Command-`"              # Activate the previous open window in the frontmost application
 #  -: "Option-Command-`"             # Move focus to the window drawer
 #  +: "Command- - (minus)"           # Decrease the size of the selected item
+\bind "C-0"                          "buffer-zoom"
 \bind "C-minus"                      "buffer-zoom-out"
 #  +: "Shift-Command-="              # Increase the size of the selected item
 \bind "C-plus"                       "buffer-zoom-in"
@@ -152,6 +153,7 @@ Format 4
 #  +: "Option-Command-H"             # Hide the windows of all other running applications
 #  -: "Command-I"                    # Italicize the selected text or toggle italic text on or off
 \bind "C-i"                          "inset-toggle" # 'i' for Inset
+\bind "C-M-i"                        "inset-settings"
 #  -: "Option-Command-I"             # Display an inspector window
 #  -: "Command-J"                    # Scroll to a selection
 \bind "C-k"                          "line-delete-forward"
@@ -187,10 +189,10 @@ Format 4
 #  -: "Option-Shift-Command-V"       # Apply the style of the surrounding text to the inserted object (Paste and Match Style)
 #  -: "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
-\bind "C-w"                          "buffer-close" # should be "window-close"
-#  +: "Shift-Command-W"              # Close a file and its associated windows
-\bind "C-S-w"                        "buffer-close"
+#  +: "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"
+#  +: "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
 \bind "C-A-w"                        "buffer-close-all"
 #  +: "Command-X"                    # Remove the selection and store in the Clipboard
@@ -365,6 +367,7 @@ Format 4
 #\bind "F9"                          "meta-prefix"
 
 \bind "C-M-F"                        "ui-toggle fullscreen"
+\bind "C-A-F"                        "forward-search"
 
 # Include menu and math bindings