From: Stefan Schimanski Date: Wed, 22 Oct 2008 22:33:26 +0000 (+0000) Subject: * bind math-macro-unfold to C-minus via command-alternatives in math mode X-Git-Tag: 1.6.10~2921 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bb55f5dfb30f1711aa69e2ad8e68432494f2d923;p=features.git * bind math-macro-unfold to C-minus via command-alternatives in math mode git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27030 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/bind/cua.bind b/lib/bind/cua.bind index 9cbf04936c..9ce2428f50 100644 --- a/lib/bind/cua.bind +++ b/lib/bind/cua.bind @@ -85,7 +85,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" "specialchar-insert hyphenation" +\bind "C-minus" "command-alternatives math-macro-fold;specialchar-insert hyphenation" \bind "C-M-minus" "specialchar-insert nobreakdash" \bind "M-S-Right" "depth-increment" \bind "M-S-Left" "depth-decrement" diff --git a/lib/bind/math.bind b/lib/bind/math.bind index 856cec9a23..164b6f6e75 100644 --- a/lib/bind/math.bind +++ b/lib/bind/math.bind @@ -142,8 +142,7 @@ # math-macros \bind "C-plus" "math-macro-unfold" -# FIXME: this accelerator is already taken by -# specialspecialchar-insert hyphenation in cua.bind +# Defined in cua.bind as command-alternative to specialchar-insert hyphenation #\bind "C-minus" "math-macro-fold" # This should be handled properly by some "get the next key" method