]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/mac.bind
Russian translation of Additional manual by Henry Chern
[lyx.git] / lib / bind / mac.bind
index f38c8afd9ce9b8ce8375d8e9a294eabcb21646b7..3e3dfc913c407cfd976bce79b1acba55e83180ac 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"
@@ -162,7 +164,7 @@ Format 4
 \bind "C-M-n"                        "command-sequence math-display; math-number-toggle;"
 #  +: "Command-N"                    # Create a new document in the frontmost application
 \bind "C-n"                          "buffer-new"
-\bind "C-S-N"                        "buffer-new-template"
+\bind "C-S-N"                        "dialog-show lyxfiles templates"
 #  +: "Command-O"                    # Display a dialog for choosing a document to open in the frontmost application
 \bind "C-o"                          "file-open"
 #  -: "Shift-Command-P"              # Display a dialog for specifying printing parameters (Page Setup)
@@ -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
@@ -210,10 +212,10 @@ Format 4
 \bind "C-Left"                       "line-begin"
 #  +: "Command-Down Arrow"           # Move the text insertion point to the end of the document
 \bind "C-Down"                       "buffer-end"
-\bind "M-A-Down"                     "inset-end" 
+\bind "M-A-Down"                     "inset-end"
 #  +: "Command-Up Arrow"             # Move the text insertion point to the beginning of the document
 \bind "C-Up"                         "buffer-begin"
-\bind "M-A-Up"                       "inset-begin" 
+\bind "M-A-Up"                       "inset-begin"
 #  +: "Shift-Command-Right Arrow"    # Select text between the insertion point and the end of the current line (*)
 \bind "S-C-Right"                    "line-end-select"
 #  +: "Shift-Command-Left Arrow"     # Select text between the insertion point and the beginning of the current line (*)
@@ -239,11 +241,11 @@ Format 4
 #  +: "Shift-Option-Down Arrow"      # Extend text selection to the end of the current paragraph, then to the end of the following paragraph if pressed again (*)
 \bind "A-Down"                       "paragraph-down"
 \bind "S-A-Down"                     "paragraph-down-select"
-\bind "S-M-A-Down"                   "inset-end-select" 
+\bind "S-M-A-Down"                   "inset-end-select"
 #  +: "Shift-Option-Up Arrow"        # Extend text selection to the beginning of the current paragraph, then to the beginning of the following paragraph if pressed again (*)
 \bind "A-Up"                         "paragraph-up"
 \bind "S-A-Up"                       "paragraph-up-select"
-\bind "S-M-A-Up"                     "inset-begin-select" 
+\bind "S-M-A-Up"                     "inset-begin-select"
 #  -: "Control-Space"                # Toggle between the current and previous input sources
 #  -: "Option-Control-Space"         # Toggle through all enabled input sources
 #  +: "Option-Command-esc"           # Force Quit
@@ -257,8 +259,8 @@ Format 4
 \bind "C-M-S-D"                      "command-alternatives master-buffer-update dvi; buffer-update dvi"
 
 \bind "C-S-E"                        "changes-track" # it's what MS Word uses
-\bind "~S-M-quotedbl"                "quote-insert single"
-\bind "~S-C-quotedbl"                "self-insert \""
+\bind "~S-M-quotedbl"                "quote-insert inner"
+\bind "~S-C-quotedbl"                "quote-insert outer auto plain"
 \bind "C-S-underscore"               "command-alternatives math-macro-fold;specialchar-insert hyphenation"
 \bind "C-M-minus"                    "specialchar-insert nobreakdash"
 \bind "M-C-Right"                    "depth-increment"
@@ -269,7 +271,7 @@ Format 4
 
 #bind "F1"                           "help"         # Not yet implemented!
 #bind "C-F1"                         "help-context" # Not yet implemented!
-\bind "F2"                           "buffer-write"
+\bind "F2"                           "buffer-write force"
 \bind "C-F4"                         "buffer-close"
 \bind "C-A-Up"                       "scroll line up"
 \bind "C-A-Down"                     "scroll line down"
@@ -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