]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/math.bind
* bind/math.bind: shortcut for \psi
[lyx.git] / lib / bind / math.bind
index 114ff84d93e2e31a7485f238c9fde06b59db3c1e..216d643e3dd0185f6e60d73f9d2af24330b8e4db 100644 (file)
 
 \bind "M-m f"                  "math-insert \frac"
 \bind "M-m s"                  "math-insert \sqrt"
-\bind "M-m e"                  "math-insert ^"
-\bind "M-m x"                  "math-insert _"
+\bind "M-m e"                  "math-insert \mathcircumflex"
+\bind "M-m S-X"                        "math-insert \mathcircumflex"
+\bind "M-m x"                  "math-insert \_ "
+
+\bind "M-m S-A"                "command-sequence math-mode; font-roman; math-insert Å;"
+\bind "M-m S-O"                "command-sequence math-mode; font-roman; math-insert Ø;"
+\bind "M-m S-T"                "command-sequence math-mode; math-insert \mathrm; math-insert T;"
+
 \bind "M-m u"                  "math-insert \sum"
 \bind "M-m i"                  "math-insert \int"
 \bind "M-m m"                  "math-mode"
 \bind "M-m n"                  "math-number"
 \bind "M-m S-N"                        "math-nonumber"
 \bind "M-m 8"                  "math-insert \infty"
-\bind "M-m v"                  "accent-vector"
-
-\bind "M-m o 1"    "math-macro-arg 1"
-\bind "M-m o 2"    "math-macro-arg 2"
-\bind "M-m o 3"    "math-macro-arg 3"
-\bind "M-m o 4"    "math-macro-arg 4"
-\bind "M-m o 5"    "math-macro-arg 5"
-\bind "M-m o 6"    "math-macro-arg 6"
-\bind "M-m o 7"    "math-macro-arg 7"
-\bind "M-m o 8"    "math-macro-arg 8"
-\bind "M-m o 9"    "math-macro-arg 9"
+
+\bind "M-m o 1"   "self-insert \#1"
+\bind "M-m o 2"   "self-insert \#2"
+\bind "M-m o 3"   "self-insert \#3"
+\bind "M-m o 4"   "self-insert \#4"
+\bind "M-m o 5"   "self-insert \#5"
+\bind "M-m o 6"   "self-insert \#6"
+\bind "M-m o 7"   "self-insert \#7"
+\bind "M-m o 8"   "self-insert \#8"
+\bind "M-m o 9"   "self-insert \#9"
 
 \bind "M-m t t"   "math-mutate dump"
 \bind "M-m t a"   "math-mutate align"
 \bind "M-m a h c"   "math-halign center"
 \bind "M-m a h r"   "math-halign right"
 
+# Decoration accents
+
 # The accent-circumflex is 'h' for 'hat', which is what most math
 # folks call it verbally.
 
+\bind "M-m ~S-quotedbl"                "math-insert \ddot"
+\bind "M-m h"                          "math-insert \hat"
+\bind "M-m ~S-backslash"       "math-insert \grave"
+\bind "M-m ~S-slash"           "math-insert \acute"
+\bind "M-m ~S-ampersand"       "math-insert \tilde"
+\bind "M-m ~S-minus"           "math-insert \bar"
+\bind "M-m ~S-period"          "math-insert \dot"
+\bind "M-m S-V"                                "math-insert \check"
+\bind "M-m S-U"                                "math-insert \breve"
+\bind "M-m v"                          "math-insert \vec"
+\bind "M-m ~S-underscore"      "math-insert \underbar"
+
 \bind "M-m b"                  "math-insert \overline"
-\bind "M-m h"                  "accent-circumflex"
-\bind "M-m ~S-period"          "accent-dot"
-\bind "M-m ~S-asciitilde"      "accent-tilde"
 \bind "M-m ~S-apostrophe"      "math-insert \prime"
-\bind "M-m ~S-quotedbl"        "accent-umlaut"
-
 
 # These do pairs of: () {} [] <> ||
 
 \bind "M-m g g"      "math-insert \gamma"
 \bind "M-m g h"      "math-insert \eta"
 \bind "M-m g i"      "math-insert \iota"
-\bind "M-m g j"      "math-insert \epsilon"
+\bind "M-m g j"      "math-insert \varphi"
 \bind "M-m g k"      "math-insert \kappa"
 \bind "M-m g l"      "math-insert \lambda"
 \bind "M-m g m"      "math-insert \mu"
 \bind "M-m g v"      "math-insert \theta"
 \bind "M-m g w"      "math-insert \omega"
 \bind "M-m g x"      "math-insert \xi"
-\bind "M-m g y"      "math-insert \varphi"
+\bind "M-m g y"      "math-insert \psi"
 \bind "M-m g z"      "math-insert \zeta"
 
 \bind "M-m g S-D"    "math-insert \Delta"