mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Bind new template dialog to template shortcut (bug 11996).
From Daniel.
This commit is contained in:
parent
b511d8d93e
commit
6b86a5a395
@ -61,7 +61,7 @@ Format 4
|
|||||||
\bind "M-~S-i e p" "file-insert-plaintext-para"
|
\bind "M-~S-i e p" "file-insert-plaintext-para"
|
||||||
|
|
||||||
\bind "M-~S-f n" "buffer-new"
|
\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 o" "file-open"
|
||||||
\bind "M-~S-f c" "buffer-close"
|
\bind "M-~S-f c" "buffer-close"
|
||||||
\bind "M-~S-f s" "buffer-write"
|
\bind "M-~S-f s" "buffer-write"
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
Format 5
|
Format 5
|
||||||
|
|
||||||
\bind "C-n" "buffer-new"
|
\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-o" "file-open"
|
||||||
\bind "C-w" "view-close"
|
\bind "C-w" "view-close"
|
||||||
\bind "C-s" "buffer-write"
|
\bind "C-s" "buffer-write"
|
||||||
|
@ -164,7 +164,7 @@ Format 4
|
|||||||
\bind "C-M-n" "command-sequence math-display; math-number-toggle;"
|
\bind "C-M-n" "command-sequence math-display; math-number-toggle;"
|
||||||
# +: "Command-N" # Create a new document in the frontmost application
|
# +: "Command-N" # Create a new document in the frontmost application
|
||||||
\bind "C-n" "buffer-new"
|
\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
|
# +: "Command-O" # Display a dialog for choosing a document to open in the frontmost application
|
||||||
\bind "C-o" "file-open"
|
\bind "C-o" "file-open"
|
||||||
# -: "Shift-Command-P" # Display a dialog for specifying printing parameters (Page Setup)
|
# -: "Shift-Command-P" # Display a dialog for specifying printing parameters (Page Setup)
|
||||||
@ -212,10 +212,10 @@ Format 4
|
|||||||
\bind "C-Left" "line-begin"
|
\bind "C-Left" "line-begin"
|
||||||
# +: "Command-Down Arrow" # Move the text insertion point to the end of the document
|
# +: "Command-Down Arrow" # Move the text insertion point to the end of the document
|
||||||
\bind "C-Down" "buffer-end"
|
\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
|
# +: "Command-Up Arrow" # Move the text insertion point to the beginning of the document
|
||||||
\bind "C-Up" "buffer-begin"
|
\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 (*)
|
# +: "Shift-Command-Right Arrow" # Select text between the insertion point and the end of the current line (*)
|
||||||
\bind "S-C-Right" "line-end-select"
|
\bind "S-C-Right" "line-end-select"
|
||||||
# +: "Shift-Command-Left Arrow" # Select text between the insertion point and the beginning of the current line (*)
|
# +: "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 (*)
|
# +: "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 "A-Down" "paragraph-down"
|
||||||
\bind "S-A-Down" "paragraph-down-select"
|
\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 (*)
|
# +: "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 "A-Up" "paragraph-up"
|
||||||
\bind "S-A-Up" "paragraph-up-select"
|
\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
|
# -: "Control-Space" # Toggle between the current and previous input sources
|
||||||
# -: "Option-Control-Space" # Toggle through all enabled input sources
|
# -: "Option-Control-Space" # Toggle through all enabled input sources
|
||||||
# +: "Option-Command-esc" # Force Quit
|
# +: "Option-Command-esc" # Force Quit
|
||||||
|
Loading…
Reference in New Issue
Block a user