From: Scott Kostyshak Date: Mon, 10 Jun 2013 23:56:09 +0000 (-0400) Subject: Add outline-{up,down} to alt-{up,down} binding X-Git-Tag: 2.1.0beta2~109 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0f5589e2a11d79987c6e11df903eb7175ff10c21;p=features.git Add outline-{up,down} to alt-{up,down} binding Now when the cursor is in e.g. a Section layout, alt- will dispatch 'outline-down'. Before, it would dispatch a 'paragraph-down', which I think makes less sense. --- diff --git a/lib/bind/cua.bind b/lib/bind/cua.bind index af90fbe430..5800628d96 100644 --- a/lib/bind/cua.bind +++ b/lib/bind/cua.bind @@ -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" diff --git a/lib/bind/emacs.bind b/lib/bind/emacs.bind index 384d638ffd..9001111fb4 100644 --- a/lib/bind/emacs.bind +++ b/lib/bind/emacs.bind @@ -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" diff --git a/lib/bind/mac.bind b/lib/bind/mac.bind index 2cb306dfc1..00214526fb 100644 --- a/lib/bind/mac.bind +++ b/lib/bind/mac.bind @@ -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" diff --git a/lib/bind/sciword.bind b/lib/bind/sciword.bind index e582c05af4..091eab468a 100644 --- a/lib/bind/sciword.bind +++ b/lib/bind/sciword.bind @@ -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" diff --git a/lib/bind/xemacs.bind b/lib/bind/xemacs.bind index 77501cdf03..569eba346f 100644 --- a/lib/bind/xemacs.bind +++ b/lib/bind/xemacs.bind @@ -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"