]> git.lyx.org Git - lyx.git/commitdiff
C-a is now bound to inset-select-all
authorScott Kostyshak <skostysh@lyx.org>
Tue, 18 Nov 2014 01:14:22 +0000 (20:14 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 20 Nov 2014 08:07:32 +0000 (03:07 -0500)
C-M-a is bound to the global "select all". The
reason for this change is that selecting an inset
is a more common operation that selecting an entire
document.

This patch is the result of discussion on #7727.

RELEASE-NOTES
lib/bind/cua.bind
lib/bind/mac.bind
lib/bind/sciword.bind

index 00d57ae9a7c79ba46d82559b97687a39d01e222b..b510426352a654448c5dd2ff9186bb94dfca653e 100644 (file)
@@ -30,6 +30,9 @@ The following LyX functions have been changed in 2.2:
 
 The following LyX key bindings have been changed in 2.2:
 
+- "C-a" is now bound to "inset-select-all" and "C-M-a" is now
+  bound to the old function (a command-sequence to select the
+  entire buffer).
 
 
 The following LyX documents have been moved in 2.2:
index 58e18f282ea65d5db88c09f2acc03e5786176ad7..359e1d486d4436d92cc27706aa333ab3171acefc 100644 (file)
@@ -87,8 +87,8 @@ Format 2
 \bind "C-y"                    "redo"
 \bind "C-S-Z"                  "redo"
 
-\bind "C-a"                    "command-sequence buffer-begin ; buffer-end-select"   # select all
-\bind "C-M-a"                  "inset-select-all"
+\bind "C-M-a"                  "command-sequence buffer-begin ; buffer-end-select"   # select all
+\bind "C-a"                    "inset-select-all"
 
 \bind "C-S-E"                  "changes-track"  # it's what MS Word uses
 \bind "~S-M-quotedbl"          "quote-insert single"
index efee7b2e9002d1bed89144d17a86ba3ff55ca900..ecdd3ad06bbf516716f4a2ab6a08eb204b2c4f83 100644 (file)
@@ -123,8 +123,8 @@ Format 2
 #  +: "Shift-Command-4"              # Capture a selection to a file
 #  +: "Shift-Control-Command-4"      # Capture a selection to the Clipboard
 #  +: "Command-A"                    # Highlight every item in a document or window, or all characters in a text field
-\bind "C-a"                          "command-sequence buffer-begin ; buffer-end-select"
-\bind "C-M-a"                        "inset-select-all"
+\bind "C-M-a"                        "command-sequence buffer-begin ; buffer-end-select"
+\bind "C-a"                          "inset-select-all"
 #  +: "Command-B"                    # Boldface the selected text or toggle boldfaced text on and off
 \bind "C-M-b"                        "font-boldsymbol"
 \bind "C-b"                          "font-bold"
index 533d6b128d4c81f8b94f4fa05b1c1b864427cca4..b3814f4c55a393287ba59de0fd1e5aea801f71f4 100644 (file)
@@ -113,7 +113,8 @@ Format 2
 \bind "C-x"    "cut"
 \bind "C-z"    "undo"
 \bind "S-C-Z"  "redo"
-\bind "C-a"    "command-sequence buffer-begin ; buffer-end-select"   # select all
+\bind "C-a"    "inset-select-all"
+\bind "C-M-a"  "command-sequence buffer-begin ; buffer-end-select"   # select all
 
 
 # This combination makes an umlaut accent now.