]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/mac.bind
Update ru docs
[lyx.git] / lib / bind / mac.bind
index 3e3dfc913c407cfd976bce79b1acba55e83180ac..5d9b397d1e1a5f24764d019438b30dc4132e23f6 100644 (file)
@@ -26,7 +26,7 @@
 
 ###
 
-Format 4
+Format 5
 
 # based on the table at http://support.apple.com/kb/HT1343
 # Note: these bindings assume the swapped Meta and Control modifiers standard of Qt
@@ -53,13 +53,13 @@ Format 4
 #  +: "Control-B"                    # Move one character backward
 \bind "M-b"                          "char-backward"
 #  +: "Control-D"                    # Delete the character in front of the cursor
-\bind "M-d"                          "char-delete-forward"
+\bind "M-d"                          "char-delete-forward confirm"
 #  +: "Control-E"                    # Move to end of line/paragraph
 \bind "M-e"                          "line-end"
 #  +: "Control-F"                    # Move one character forward
 \bind "M-f"                          "char-forward"
 #  +: "Control-H"                    # Delete the character behind the cursor
-\bind "M-h"                          "char-delete-backward"
+\bind "M-h"                          "char-delete-backward confirm"
 #  -: "Control-K"                    # Delete from the character in front of the cursor to the end of the line/paragraph
 # used by menu.bind - keymap
 #  +: "Control-L"                    # Center the cursor/selection in the visible area
@@ -83,7 +83,7 @@ Format 4
 \bind "M-S-BackTab"                  "buffer-previous"
 \bind "A-S-BackTab"                  "buffer-previous"
 #  +: "fn-Delete"                    # Forward Delete (on portable Macs' built-in keyboard)
-\bind "Delete"                       "char-delete-forward"
+\bind "Delete"                       "char-delete-forward confirm"
 #  ?: "Control-F1"                   # Toggle full keyboard access on or off
 #  +: "Control-F2"                   # Move focus to the menu bar
 #  +: "Control-F3"                   # Move focus to the Dock
@@ -139,8 +139,9 @@ Format 4
 \bind "C-d"                          "buffer-view dvi" # 'd' for dvi
 \bind "C-M-d"                        "command-alternatives master-buffer-view dvi; buffer.view dvi"
 \bind "C-S-D"                        "buffer-update dvi"       # 'd' for dvi
-#  -: "Command-E"                    # Use the selection for a find
-\bind "C-e"                          "font-emph"
+#  +: "Command-E"                    # Use the selection for a find
+\bind "C-e"                          "search-string-set"
+\bind "C-M-e"                        "font-emph"
 #  +: "Command-F"                    # Open a Find window
 \bind "C-f"                          "dialog-show findreplace"
 \bind "C-S-f"                        "dialog-show findreplaceadv"
@@ -347,8 +348,8 @@ Format 4
 # Additional Edit group
 #
 
-\bind "A-Delete"                     "word-delete-forward"
-\bind "A-BackSpace"                  "word-delete-backward"
+\bind "A-Delete"                     "word-delete-forward confirm"
+\bind "A-BackSpace"                  "word-delete-backward confirm"
 \bind "M-Return"                     "paragraph-break inverse"
 \bind "C-Return"                     "newline-insert newline"
 \bind "C-S-Return"                   "newline-insert linebreak"