-\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 u" "math-insert \sum"
-\bind "M-m i" "math-insert \int"
-\bind "M-m m" "math-mode"
-\bind "M-m d" "math-display"
-
-\bind "M-m g" "math-greek"
-\bind "M-m S-G" "math-greek-toggle"
-#\bind "M-m o" "math-insert \oint"
-\bind "M-m p" "math-insert \partial"
-\bind "M-m r" "math-insert \root"
-\bind "M-m l" "math-limits"
-
-\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 t t" "math-mutate dump"
-\bind "M-m t a" "math-mutate align"
-\bind "M-m t i" "math-mutate inline"
-\bind "M-m t d" "math-mutate display"
-\bind "M-m t e" "math-mutate eqnarray"
-
-\bind "M-m c i" "math-column-insert"
-\bind "M-m c d" "math-column-delete"
-
-\bind "M-m w i" "math-row-insert"
-\bind "M-m w d" "math-row-delete"
-
-\bind "M-m a v t" "math-valign top"
-\bind "M-m a v c" "math-valign center"
-\bind "M-m a v b" "math-valign bottom"
-\bind "M-m a h l" "math-halign left"
-\bind "M-m a h c" "math-halign center"
-\bind "M-m a h r" "math-halign right"
+Format 2
+
+\bind "M-m f" "math-insert \frac"
+\bind "M-m s" "math-insert \sqrt"
+\bind "M-m x" "math-subscript"
+\bind "M-m e" "math-superscript"
+
+\bind "M-m u" "math-insert \sum"
+\bind "M-m i" "math-insert \int"
+\bind "M-m m" "math-mode" # produces mathematical text
+\bind "M-m d" "math-display"
+
+\bind "M-m y" "math-insert \oint"
+\bind "M-m p" "math-insert \partial"
+\bind "M-m r" "math-insert \root"
+\bind "M-m l" "math-limits"
+\bind "M-m S-L l" "math-limits limits"
+\bind "M-m S-L n" "math-limits nolimits"
+\bind "M-m S-L space" "math-limits empty"
+
+
+\bind "M-m n" "math-number-toggle"
+\bind "M-m S-N" "math-number-line-toggle"
+\bind "M-m 8" "math-insert \infty"
+
+\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 n" "math-mutate none"
+\bind "M-m t t" "math-mutate dump"
+\bind "M-m t a" "math-mutate align"
+\bind "M-m t i" "math-mutate simple"
+\bind "M-m t d" "math-mutate equation"
+\bind "M-m t e" "math-mutate eqnarray"
+\bind "M-m t m" "math-mutate multline"
+
+\bind "M-m c i" "inset-modify tabular append-column"
+\bind "M-m c d" "inset-modify tabular delete-column"
+\bind "M-m c c" "inset-modify tabular copy-column"
+\bind "M-m c s" "inset-modify tabular swap-column"
+\bind "M-m c a" "inset-modify tabular add-vline-left"
+\bind "M-m c e" "inset-modify tabular delete-vline-left"
+\bind "M-m c z" "inset-modify tabular add-vline-right"
+\bind "M-m c x" "inset-modify tabular delete-vline-right"
+
+\bind "M-m w i" "inset-modify tabular append-row"
+\bind "M-m w d" "inset-modify tabular delete-row"
+\bind "M-m w c" "inset-modify tabular copy-row"
+\bind "M-m w s" "inset-modify tabular swap-row"
+\bind "M-m w a" "inset-modify tabular add-hline-above"
+\bind "M-m w e" "inset-modify tabular delete-hline-above"
+\bind "M-m w z" "inset-modify tabular add-hline-below"
+\bind "M-m w x" "inset-modify tabular delete-hline-below"
+
+\bind "M-m w t" "inset-modify tabular valign-top"
+\bind "M-m w m" "inset-modify tabular valign-middle"
+\bind "M-m w b" "inset-modify tabular valign-bottom"
+\bind "M-m c l" "inset-modify tabular align-left"
+\bind "M-m c m" "inset-modify tabular align-center"
+\bind "M-m c r" "inset-modify tabular align-right"
+
+# Decoration accents