I've prepared a patch as compromise proposal for the new key bindings...
The math-macro fold/unfold keys has to be changed to allow the configuration of 
the key-binding of Ctrl-plus.
To remain consistent I moved them to Ctrl-Shift- plus/minus resp. 
asterisk/underscore. I think they are used rarely.
After that I can make different bindings for mac and cua. The patch is complete 
with the mac-specific setting of wheel zoom enable state.

I hope it is acceptable now. If not, please tell me why.

Stephan

Index: lib/bind/cua.bind
===================================================================
--- lib/bind/cua.bind   (Revision 34997)
+++ lib/bind/cua.bind   (Arbeitskopie)
@@ -89,7 +89,8 @@
 \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 "C-minus"                        "command-alternatives 
math-macro-fold;specialchar-insert hyphenation"
+\bind "C-minus"        "specialchar-insert hyphenation"
+\bind "C-S-underscore"         "math-macro-fold"
 \bind "C-M-minus"              "specialchar-insert nobreakdash"
 \bind "M-S-Right"              "depth-increment"
 \bind "M-S-Left"               "depth-decrement"
@@ -119,9 +120,9 @@
 
 \bind "F11"                    "ui-toggle fullscreen"
 
-\bind "M-equal"                        "buffer-zoom-in"
-\bind "M-plus"                 "buffer-zoom-in"
-\bind "M-minus"                        "buffer-zoom-out"
+\bind "M-equal"        "buffer-zoom-in"
+\bind "M-plus"         "buffer-zoom-in"
+\bind "M-minus"        "buffer-zoom-out"
 
 #
 # Motion group
Index: lib/bind/math.bind
===================================================================
--- lib/bind/math.bind  (Revision 34997)
+++ lib/bind/math.bind  (Arbeitskopie)
@@ -141,7 +141,7 @@
 #\bind "C-Tab"          "cell-split"
 
 # math-macros
-\bind "C-plus"         "math-macro-unfold"
+\bind "C-S-asterisk"         "math-macro-unfold"
 # Defined in cua.bind as command-alternative to specialchar-insert hyphenation
 #\bind "C-minus"        "math-macro-fold"
 
Index: lib/bind/mac.bind
===================================================================
--- lib/bind/mac.bind   (Revision 34997)
+++ lib/bind/mac.bind   (Arbeitskopie)
@@ -79,7 +79,7 @@
 \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 "C-minus"                        "command-alternatives 
math-macro-fold;specialchar-insert hyphenation"
+\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"
 \bind "M-C-Left"               "depth-decrement"
@@ -103,9 +103,8 @@
 \bind "M-x"                            "command-execute"
 \bind "M-o"                            "dialog-show toc"
 
-\bind "M-equal"                        "buffer-zoom-in"
-\bind "M-plus"                 "buffer-zoom-in"
-\bind "M-minus"                        "buffer-zoom-out"
+\bind "C-plus"                 "buffer-zoom-in"
+\bind "C-minus"                "buffer-zoom-out"
 
 #
 # Motion group
Index: development/MacOSX/lyxrc.dist.in
===================================================================
--- development/MacOSX/lyxrc.dist.in    (Revision 34997)
+++ development/MacOSX/lyxrc.dist.in    (Arbeitskopie)
@@ -30,6 +30,8 @@
 \open_buffers_in_tabs false
 \mac_like_word_movement true
 
+\scroll_whell_zoom "off"
+
 #
 # COLOR SECTION ###################################
 #
@@ -65,7 +67,7 @@
 # SPELLCHECKER SECTION ##############################
 #
 
-\spell_command "aspell"
+\spell_command "native"
 
 #
 # LANGUAGE SUPPORT SECTION ##########################

Reply via email to