change key-bindings to support cmd-plus/minus text size adjust on mac

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35006 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-07-22 16:38:26 +00:00
parent 1d7564561a
commit 4f4d32da4b
4 changed files with 12 additions and 10 deletions

View File

@ -30,6 +30,8 @@
\open_buffers_in_tabs false \open_buffers_in_tabs false
\mac_like_word_movement true \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 ##########################

View File

@ -89,7 +89,8 @@
\bind "C-S-E" "changes-track" # it's what MS Word uses \bind "C-S-E" "changes-track" # it's what MS Word uses
\bind "~S-M-quotedbl" "quote-insert single" \bind "~S-M-quotedbl" "quote-insert single"
\bind "~S-C-quotedbl" "self-insert \"" \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 "C-M-minus" "specialchar-insert nobreakdash"
\bind "M-S-Right" "depth-increment" \bind "M-S-Right" "depth-increment"
\bind "M-S-Left" "depth-decrement" \bind "M-S-Left" "depth-decrement"
@ -119,9 +120,9 @@
\bind "F11" "ui-toggle fullscreen" \bind "F11" "ui-toggle fullscreen"
\bind "M-equal" "buffer-zoom-in" \bind "M-equal" "buffer-zoom-in"
\bind "M-plus" "buffer-zoom-in" \bind "M-plus" "buffer-zoom-in"
\bind "M-minus" "buffer-zoom-out" \bind "M-minus" "buffer-zoom-out"
# #
# Motion group # Motion group

View File

@ -79,7 +79,7 @@
\bind "C-S-E" "changes-track" # it's what MS Word uses \bind "C-S-E" "changes-track" # it's what MS Word uses
\bind "~S-M-quotedbl" "quote-insert single" \bind "~S-M-quotedbl" "quote-insert single"
\bind "~S-C-quotedbl" "self-insert \"" \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 "C-M-minus" "specialchar-insert nobreakdash"
\bind "M-C-Right" "depth-increment" \bind "M-C-Right" "depth-increment"
\bind "M-C-Left" "depth-decrement" \bind "M-C-Left" "depth-decrement"
@ -103,9 +103,8 @@
\bind "M-x" "command-execute" \bind "M-x" "command-execute"
\bind "M-o" "dialog-show toc" \bind "M-o" "dialog-show toc"
\bind "M-equal" "buffer-zoom-in" \bind "C-plus" "buffer-zoom-in"
\bind "M-plus" "buffer-zoom-in" \bind "C-minus" "buffer-zoom-out"
\bind "M-minus" "buffer-zoom-out"
# #
# Motion group # Motion group

View File

@ -141,7 +141,7 @@
#\bind "C-Tab" "cell-split" #\bind "C-Tab" "cell-split"
# math-macros # 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 # Defined in cua.bind as command-alternative to specialchar-insert hyphenation
#\bind "C-minus" "math-macro-fold" #\bind "C-minus" "math-macro-fold"