]> git.lyx.org Git - lyx.git/commitdiff
change key-bindings to support cmd-plus/minus text size adjust on mac
authorStephan Witt <switt@lyx.org>
Thu, 22 Jul 2010 16:38:26 +0000 (16:38 +0000)
committerStephan Witt <switt@lyx.org>
Thu, 22 Jul 2010 16:38:26 +0000 (16:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35006 a592a061-630c-0410-9148-cb99ea01b6c8

development/MacOSX/lyxrc.dist.in
lib/bind/cua.bind
lib/bind/mac.bind
lib/bind/math.bind

index 0ee4aac593ce28f837fa192142b0b19204003dfe..d8b1aa590e84ec30108778e3725cd223b37c633b 100644 (file)
@@ -30,6 +30,8 @@
 \open_buffers_in_tabs false
 \mac_like_word_movement true
 
 \open_buffers_in_tabs false
 \mac_like_word_movement true
 
+\scroll_wheel_zoom "off"
+
 #
 # COLOR SECTION ###################################
 #
 #
 # COLOR SECTION ###################################
 #
@@ -65,7 +67,7 @@
 # SPELLCHECKER SECTION ##############################
 #
 
 # SPELLCHECKER SECTION ##############################
 #
 
-\spell_command "aspell"
+\spell_command "native"
 
 #
 # LANGUAGE SUPPORT SECTION ##########################
 
 #
 # LANGUAGE SUPPORT SECTION ##########################
index e20215744876784c86f76d1f07eca0c8ff7f8c37..dbf68eaec44c35802b75feb5bac1c2d9b29d2fd3 100644 (file)
@@ -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-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"
 \bind "C-M-minus"              "specialchar-insert nobreakdash"
 \bind "M-S-Right"              "depth-increment"
 \bind "M-S-Left"               "depth-decrement"
 
 \bind "F11"                    "ui-toggle fullscreen"
 
 
 \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
 
 #
 # Motion group
index 6a9be64f597fffe264b5ff79b0e7a18f76a0cba7..13d81f8cccdb2341b8ebe815a48e011e6dc827e3 100644 (file)
@@ -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-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"
 \bind "C-M-minus"              "specialchar-insert nobreakdash"
 \bind "M-C-Right"              "depth-increment"
 \bind "M-C-Left"               "depth-decrement"
 \bind "M-x"                            "command-execute"
 \bind "M-o"                            "dialog-show toc"
 
 \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
 
 #
 # Motion group
index e5b21b4d148783640fc1d1ebf34499713720a834..0630f3674874fb802ccdc0b44dcdb27d42c3462d 100644 (file)
 #\bind "C-Tab"          "cell-split"
 
 # math-macros
 #\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"
 
 # Defined in cua.bind as command-alternative to specialchar-insert hyphenation
 #\bind "C-minus"        "math-macro-fold"