]> git.lyx.org Git - features.git/commitdiff
Add outline-{up,down} to alt-{up,down} binding
authorScott Kostyshak <skostysh@lyx.org>
Mon, 10 Jun 2013 23:56:09 +0000 (19:56 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 1 Sep 2013 21:45:46 +0000 (17:45 -0400)
Now when the cursor is in e.g. a Section layout, alt-<down>
will dispatch 'outline-down'. Before, it would dispatch a
'paragraph-down', which I think makes less sense.

lib/bind/cua.bind
lib/bind/emacs.bind
lib/bind/mac.bind
lib/bind/sciword.bind
lib/bind/xemacs.bind

index af90fbe4301aef4691c73f0a48e0336bd8e53c76..5800628d969e0a321469c767afe9c1e715e16f1a 100644 (file)
@@ -132,8 +132,8 @@ Format 1
 # Motion group
 #
 
-\bind "M-Up"                   "command-alternatives paragraph-move-up; inset-modify tabular move-row-up"
-\bind "M-Down"                 "command-alternatives paragraph-move-down; inset-modify tabular move-row-down"
+\bind "M-Up"                   "command-alternatives outline-up; paragraph-move-up; inset-modify tabular move-row-up"
+\bind "M-Down"                 "command-alternatives outline-down; paragraph-move-down; inset-modify tabular move-row-down"
 \bind "M-Right"                        "inset-modify tabular move-column-right"
 \bind "M-Left"                 "inset-modify tabular move-column-left"
 \bind "C-Right"                        "word-right"
index 384d638ffd90189da74ae000d6f35f91cd2d967c..9001111fb4e0405f35dd65bd26a59ebc8c761ee3 100644 (file)
@@ -148,8 +148,8 @@ Format 1
 # Motion group
 #
 
-\bind "M-Up"                   "command-alternatives paragraph-move-up; inset-modify tabular move-row-up"
-\bind "M-Down"                 "command-alternatives paragraph-move-down; inset-modify tabular move-row-down"
+\bind "M-Up"                   "command-alternatives outline-up; paragraph-move-up; inset-modify tabular move-row-up"
+\bind "M-Down"                 "command-alternatives outline-down; paragraph-move-down; inset-modify tabular move-row-down"
 \bind "M-Right"                        "inset-modify tabular move-column-right"
 \bind "M-Left"                 "inset-modify tabular move-column-left"
 \bind "C-Right"                        "word-right"
index 2cb306dfc139d6170e90d3b2d5ea2e4220f0ff6e..00214526fba8424bb897aef1633f4bb7a1e66dae 100644 (file)
@@ -358,8 +358,8 @@ Format 1
 \bind "C-period"                     "specialchar-insert end-of-sentence"
 \bind "M-period"                     "specialchar-insert dots"
 \bind "Escape"                       "cancel"
-\bind "C-M-Up"                       "command-alternatives paragraph-move-up; inset-modify tabular move-row-up"
-\bind "C-M-Down"                     "command-alternatives paragraph-move-down; inset-modify tabular move-row-down"
+\bind "C-M-Up"                       "command-alternatives outline-up; paragraph-move-up; inset-modify tabular move-row-up"
+\bind "C-M-Down"                     "command-alternatives outline-down; paragraph-move-down; inset-modify tabular move-row-down"
 \bind "C-M-Right"                    "inset-modify tabular move-column-right"
 \bind "C-M-Left"                     "inset-modify tabular move-column-left"
 #\bind "F9"                          "meta-prefix"
index e582c05af457887e7944181744fdaf2cffe4f5b9..091eab468a1e1ed5bac80b8410557ede38581a6a 100644 (file)
@@ -231,8 +231,8 @@ Format 1
 \bind_file greekkeys.bind
 
 
-\bind "M-Up"                   "command-alternatives paragraph-move-up; inset-modify tabular move-row-up"
-\bind "M-Down"                 "command-alternatives paragraph-move-down; inset-modify tabular move-row-down"
+\bind "M-Up"                   "command-alternatives outline-up; paragraph-move-up; inset-modify tabular move-row-up"
+\bind "M-Down"                 "command-alternatives outline-down; paragraph-move-down; inset-modify tabular move-row-down"
 \bind "M-Right"                        "inset-modify tabular move-column-right"
 \bind "M-Left"                 "inset-modify tabular move-column-left"
 \bind "S-KP_Right"                     "char-right-select"
index 77501cdf03b71949dc77455f29cab0d47c3632b8..569eba346ff4529a8e00188ba2c864f25a21e022 100644 (file)
@@ -147,8 +147,8 @@ Format 1
 # Motion group
 #
 
-\bind "M-Up"                   "command-alternatives paragraph-move-up; inset-modify tabular move-row-up"
-\bind "M-Down"                 "command-alternatives paragraph-move-down; inset-modify tabular move-row-down"
+\bind "M-Up"                   "command-alternatives outline-up; paragraph-move-up; inset-modify tabular move-row-up"
+\bind "M-Down"                 "command-alternatives outline-down; paragraph-move-down; inset-modify tabular move-row-down"
 \bind "M-Right"                "inset-modify tabular move-column-right"
 \bind "M-Left"                 "inset-modify tabular move-column-left"
 \bind "C-Right"                "word-right"