From: Richard Kimberly Heck Date: Fri, 9 Oct 2020 02:02:06 +0000 (-0400) Subject: Bind new template dialog to template shortcut (bug 11996). X-Git-Tag: lyx-2.4.0dev-acb2ca7b~108 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6b86a5a395175bd3a015856698d4dddae662b162;p=features.git Bind new template dialog to template shortcut (bug 11996). From Daniel. --- diff --git a/lib/bind/aqua.bind b/lib/bind/aqua.bind index bea8b47636..477c59dae9 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 918ca02d7a..f964d86692 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 0d7459fbe2..3e3dfc913c 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