[LyX/master] Bind new template dialog to template shortcut (bug 11996).

Richard Kimberly Heck rikiheck at lyx.org
Fri Oct 9 01:34:36 UTC 2020


commit 6b86a5a395175bd3a015856698d4dddae662b162
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Thu Oct 8 22:02:06 2020 -0400

    Bind new template dialog to template shortcut (bug 11996).
    
    From Daniel.
---
 lib/bind/aqua.bind |    2 +-
 lib/bind/cua.bind  |    2 +-
 lib/bind/mac.bind  |   10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/bind/aqua.bind b/lib/bind/aqua.bind
index bea8b47..477c59d 100644
--- a/lib/bind/aqua.bind
+++ b/lib/bind/aqua.bind
@@ -61,7 +61,7 @@ Format 4
 \bind "M-~S-i e p" 		"file-insert-plaintext-para"
 
 \bind "M-~S-f n"		"buffer-new"
-\bind "M-~S-f t"		"buffer-new-template"
+\bind "M-~S-f t"		"dialog-show lyxfiles templates"
 \bind "M-~S-f o"		"file-open"
 \bind "M-~S-f c"		"buffer-close"
 \bind "M-~S-f s"		"buffer-write"
diff --git a/lib/bind/cua.bind b/lib/bind/cua.bind
index 918ca02..f964d86 100644
--- a/lib/bind/cua.bind
+++ b/lib/bind/cua.bind
@@ -37,7 +37,7 @@
 Format 5
 
 \bind "C-n"			"buffer-new"
-\bind "C-S-N"			"buffer-new-template"
+\bind "C-S-N"			"dialog-show lyxfiles templates"
 \bind "C-o"			"file-open"
 \bind "C-w"			"view-close"
 \bind "C-s"			"buffer-write"
diff --git a/lib/bind/mac.bind b/lib/bind/mac.bind
index 0d7459f..3e3dfc9 100644
--- a/lib/bind/mac.bind
+++ b/lib/bind/mac.bind
@@ -164,7 +164,7 @@ Format 4
 \bind "C-M-n"                        "command-sequence math-display; math-number-toggle;"
 #  +: "Command-N"                    # Create a new document in the frontmost application
 \bind "C-n"                          "buffer-new"
-\bind "C-S-N"                        "buffer-new-template"
+\bind "C-S-N"                        "dialog-show lyxfiles templates"
 #  +: "Command-O"                    # Display a dialog for choosing a document to open in the frontmost application
 \bind "C-o"                          "file-open"
 #  -: "Shift-Command-P"              # Display a dialog for specifying printing parameters (Page Setup)
@@ -212,10 +212,10 @@ Format 4
 \bind "C-Left"                       "line-begin"
 #  +: "Command-Down Arrow"           # Move the text insertion point to the end of the document
 \bind "C-Down"                       "buffer-end"
-\bind "M-A-Down"                     "inset-end" 
+\bind "M-A-Down"                     "inset-end"
 #  +: "Command-Up Arrow"             # Move the text insertion point to the beginning of the document
 \bind "C-Up"                         "buffer-begin"
-\bind "M-A-Up"                       "inset-begin" 
+\bind "M-A-Up"                       "inset-begin"
 #  +: "Shift-Command-Right Arrow"    # Select text between the insertion point and the end of the current line (*)
 \bind "S-C-Right"                    "line-end-select"
 #  +: "Shift-Command-Left Arrow"     # Select text between the insertion point and the beginning of the current line (*)
@@ -241,11 +241,11 @@ Format 4
 #  +: "Shift-Option-Down Arrow"      # Extend text selection to the end of the current paragraph, then to the end of the following paragraph if pressed again (*)
 \bind "A-Down"                       "paragraph-down"
 \bind "S-A-Down"                     "paragraph-down-select"
-\bind "S-M-A-Down"                   "inset-end-select" 
+\bind "S-M-A-Down"                   "inset-end-select"
 #  +: "Shift-Option-Up Arrow"        # Extend text selection to the beginning of the current paragraph, then to the beginning of the following paragraph if pressed again (*)
 \bind "A-Up"                         "paragraph-up"
 \bind "S-A-Up"                       "paragraph-up-select"
-\bind "S-M-A-Up"                     "inset-begin-select" 
+\bind "S-M-A-Up"                     "inset-begin-select"
 #  -: "Control-Space"                # Toggle between the current and previous input sources
 #  -: "Option-Control-Space"         # Toggle through all enabled input sources
 #  +: "Option-Command-esc"           # Force Quit


More information about the lyx-cvs mailing list