]> git.lyx.org Git - features.git/commitdiff
Bind new template dialog to template shortcut (bug 11996).
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 9 Oct 2020 02:02:06 +0000 (22:02 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 9 Oct 2020 02:02:15 +0000 (22:02 -0400)
From Daniel.

lib/bind/aqua.bind
lib/bind/cua.bind
lib/bind/mac.bind

index bea8b4763695a790d592a63c5ac74004911a7f7b..477c59dae9905c96093c2e44ce1df4a759e91f59 100644 (file)
@@ -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"
index 918ca02d7a6b75e3dae63ed0ea83cbe0f49261c4..f964d8669291647b9037a7c67d6874e83da742c1 100644 (file)
@@ -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"
index 0d7459fbe24fb0feb7dd05fbd79aa639ea984dc4..3e3dfc913c407cfd976bce79b1acba55e83180ac 100644 (file)
@@ -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