2004-08-14 11:12:30 +00:00
|
|
|
# This file is part of
|
|
|
|
# ==================================================================
|
|
|
|
#
|
2009-05-11 12:15:36 +00:00
|
|
|
# LyX, the High Level Word Processor
|
2004-10-26 21:16:44 +00:00
|
|
|
#
|
2004-08-14 11:12:30 +00:00
|
|
|
# Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
|
|
|
|
#
|
|
|
|
# ==================================================================
|
|
|
|
|
|
|
|
#
|
2008-11-08 10:55:59 +00:00
|
|
|
# This is the Mac flavour bind file for LyX/Mac 1.6.x, based on
|
2004-08-14 11:12:30 +00:00
|
|
|
# bindings found in the Mac world.
|
|
|
|
#
|
|
|
|
# DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
|
2004-10-26 21:16:44 +00:00
|
|
|
# with every new install of LyX and your changes will be lost.
|
|
|
|
# Instead, customize a copy of this file placed in
|
2004-10-11 13:45:52 +00:00
|
|
|
# ~/.lyx/bind/.
|
2004-08-14 11:12:30 +00:00
|
|
|
#
|
|
|
|
# Happy tuning!
|
|
|
|
|
|
|
|
# Free bindings:
|
|
|
|
|
|
|
|
#\bind "C-h"
|
|
|
|
#\bind "C-j"
|
|
|
|
#\bind "C-y"
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-n" "buffer-new"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-S-N" "buffer-new-template"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-o" "file-open"
|
|
|
|
\bind "C-w" "buffer-close"
|
|
|
|
\bind "C-s" "buffer-write"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-S-S" "buffer-write-as"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-p" "dialog-show print"
|
|
|
|
\bind "C-d" "buffer-view dvi" # 'd' for dvi
|
|
|
|
\bind "C-t" "buffer-view pdf"
|
|
|
|
\bind "C-M-t" "master-buffer-view pdf"
|
|
|
|
\bind "C-M-d" "master-buffer-view dvi"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-S-D" "buffer-update dvi" # 'd' for dvi
|
|
|
|
\bind "C-S-T" "buffer-update pdf" # (pdflatex; was "ps")
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-M-S-T" "master-buffer-update pdf"
|
|
|
|
\bind "C-M-S-D" "master-buffer-update dvi"
|
|
|
|
\bind "C-q" "lyx-quit"
|
2004-11-05 13:28:01 +00:00
|
|
|
\bind "M-Tab" "buffer-next"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "M-S-BackTab" "buffer-previous"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2008-09-15 16:49:11 +00:00
|
|
|
\bind "C-M-b" "font-boldsymbol"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-b" "font-bold"
|
|
|
|
\bind "C-e" "font-emph"
|
|
|
|
# used below for line-delete-forward
|
|
|
|
#\bind "C-k" "font-noun" # 'k' for capitals
|
|
|
|
\bind "C-u" "font-underline"
|
|
|
|
\bind "C-S-P" "font-typewriter" # 'P' for Program
|
|
|
|
\bind "C-S-O" "font-strikeout"
|
|
|
|
|
|
|
|
\bind "C-m" "math-mode"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-S-M" "math-display"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-S-r" "regexp-mode"
|
|
|
|
\bind "C-M-n" "command-sequence math-display; math-number-toggle;"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-f" "dialog-show findreplace"
|
|
|
|
\bind "C-S-f" "dialog-show findreplaceadv"
|
|
|
|
\bind "C-i" "inset-toggle" # 'i' for Inset
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-c" "copy"
|
|
|
|
\bind "C-x" "cut"
|
|
|
|
\bind "C-v" "paste"
|
2007-01-06 15:33:07 +00:00
|
|
|
\bind "C-S-v" "clipboard-paste"
|
|
|
|
\bind "C-M-v" "primary-selection-paste"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-z" "undo"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-S-Z" "redo"
|
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-a" "command-sequence buffer-begin ; buffer-end-select" # select all
|
2009-08-22 14:44:08 +00:00
|
|
|
\bind "C-M-a" "inset-select-all"
|
2007-01-30 22:26:50 +00:00
|
|
|
|
2006-05-08 18:09:19 +00:00
|
|
|
\bind "C-S-E" "changes-track" # it's what MS Word uses
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "~S-M-quotedbl" "quote-insert single"
|
|
|
|
\bind "~S-C-quotedbl" "self-insert \""
|
|
|
|
\bind "C-minus" "command-alternatives math-macro-fold;specialchar-insert hyphenation"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-M-minus" "specialchar-insert nobreakdash"
|
2004-10-11 13:45:52 +00:00
|
|
|
\bind "M-C-Right" "depth-increment"
|
|
|
|
\bind "M-C-Left" "depth-decrement"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-S-L" "specialchar-insert ligature-break"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-l" "ert-insert" # 'l' for LaTeX
|
2007-10-11 15:08:30 +00:00
|
|
|
\bind "C-S-I" "info-insert"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
#bind "F1" "help" # Not yet implemented!
|
2004-08-14 11:12:30 +00:00
|
|
|
#bind "C-F1" "help-context" # Not yet implemented!
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "F2" "buffer-write"
|
|
|
|
\bind "C-g" "word-find"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-F4" "buffer-close"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "F5" "screen-recenter"
|
|
|
|
\bind "C-M-Up" "scroll line up"
|
|
|
|
\bind "C-M-Down" "scroll line down"
|
|
|
|
\bind "C-M-Prior" "scroll page up"
|
|
|
|
\bind "C-M-Next" "scroll page down"
|
|
|
|
\bind "F7" "dialog-show spellchecker"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "S-F7" "thesaurus-entry"
|
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "M-x" "command-execute"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2009-05-11 00:05:51 +00:00
|
|
|
\bind "M-equal" "buffer-zoom-in"
|
|
|
|
\bind "M-plus" "buffer-zoom-in"
|
|
|
|
\bind "M-minus" "buffer-zoom-out"
|
|
|
|
|
2004-08-14 11:12:30 +00:00
|
|
|
#
|
|
|
|
# Motion group
|
|
|
|
#
|
|
|
|
|
2007-10-28 20:35:57 +00:00
|
|
|
\bind "M-Right" "word-right"
|
|
|
|
\bind "M-Left" "word-left"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "M-Up" "paragraph-up"
|
|
|
|
\bind "M-Down" "paragraph-down"
|
|
|
|
\bind "C-Up" "buffer-begin"
|
|
|
|
\bind "C-Down" "buffer-end"
|
2009-06-19 13:10:22 +00:00
|
|
|
\bind "M-C-Up" "inset-begin"
|
|
|
|
\bind "M-C-Down" "inset-end"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-Right" "line-end"
|
|
|
|
\bind "C-Left" "line-begin"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-~S-greater" "label-goto"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-~S-less" "bookmark-goto 0"
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Motion + select group
|
|
|
|
#
|
|
|
|
|
2007-10-22 22:18:52 +00:00
|
|
|
\bind "S-Right" "char-right-select"
|
|
|
|
\bind "S-Left" "char-left-select"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "S-Up" "up-select"
|
|
|
|
\bind "S-Down" "down-select"
|
2007-10-28 20:35:57 +00:00
|
|
|
\bind "S-M-Right" "word-right-select"
|
|
|
|
\bind "S-M-Left" "word-left-select"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "S-M-Up" "paragraph-up-select"
|
|
|
|
\bind "S-M-Down" "paragraph-down-select"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "S-C-Left" "line-begin-select"
|
|
|
|
\bind "S-C-Right" "line-end-select"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "S-Prior" "screen-up-select"
|
|
|
|
\bind "S-Next" "screen-down-select"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "S-C-Up" "buffer-begin-select"
|
|
|
|
\bind "S-C-Down" "buffer-end-select"
|
2009-06-19 13:10:22 +00:00
|
|
|
\bind "S-M-C-Up" "inset-begin-select"
|
|
|
|
\bind "S-M-C-Down" "inset-end-select"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-Insert" "copy"
|
|
|
|
\bind "S-Insert" "paste"
|
|
|
|
\bind "S-Delete" "cut"
|
|
|
|
|
|
|
|
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "S-KP_Right" "char-right-select"
|
|
|
|
\bind "S-KP_Left" "char-left-select"
|
|
|
|
\bind "S-KP_Up" "up-select"
|
|
|
|
\bind "S-KP_Down" "down-select"
|
|
|
|
\bind "S-M-KP_Right" "word-right-select"
|
|
|
|
\bind "S-M-KP_Left" "word-left-select"
|
|
|
|
\bind "S-M-KP_Up" "paragraph-up-select"
|
|
|
|
\bind "S-M-KP_Down" "paragraph-down-select"
|
|
|
|
\bind "S-KP_Home" "line-begin-select"
|
|
|
|
\bind "S-KP_End" "line-end-select"
|
|
|
|
\bind "S-KP_Prior" "screen-up-select"
|
|
|
|
\bind "S-KP_Next" "screen-down-select"
|
|
|
|
\bind "S-C-KP_Home" "buffer-begin-select"
|
|
|
|
\bind "S-C-KP_End" "buffer-end-select"
|
|
|
|
\bind "S-C-KP_Prior" "buffer-begin-select"
|
|
|
|
\bind "S-C-KP_Next" "buffer-end-select"
|
|
|
|
\bind "C-KP_Insert" "copy"
|
|
|
|
\bind "S-KP_Insert" "paste"
|
|
|
|
\bind "S-KP_Delete"
|
|
|
|
|
|
|
|
|
|
|
|
"cut"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# bookmarks
|
|
|
|
#
|
|
|
|
|
|
|
|
\bind "C-~S-1" "bookmark-goto 1"
|
|
|
|
\bind "C-~S-2" "bookmark-goto 2"
|
|
|
|
\bind "C-~S-3" "bookmark-goto 3"
|
2005-01-15 18:36:02 +00:00
|
|
|
\bind "C-~S-4" "bookmark-goto 4"
|
|
|
|
\bind "C-~S-5" "bookmark-goto 5"
|
2007-03-29 03:41:55 +00:00
|
|
|
\bind "C-~S-6" "bookmark-goto 6"
|
|
|
|
\bind "C-~S-7" "bookmark-goto 7"
|
|
|
|
\bind "C-~S-8" "bookmark-goto 8"
|
|
|
|
\bind "C-~S-9" "bookmark-goto 9"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "C-M-~S-1" "bookmark-save 1"
|
2007-03-29 03:41:55 +00:00
|
|
|
\bind "C-M-~S-2" "bookmark-save 2"
|
|
|
|
\bind "C-M-~S-3" "bookmark-save 3"
|
|
|
|
\bind "C-M-~S-4" "bookmark-save 4"
|
|
|
|
\bind "C-M-~S-5" "bookmark-save 5"
|
|
|
|
\bind "C-M-~S-6" "bookmark-save 6"
|
|
|
|
\bind "C-M-~S-7" "bookmark-save 7"
|
|
|
|
\bind "C-M-~S-8" "bookmark-save 8"
|
|
|
|
\bind "C-M-~S-9" "bookmark-save 9"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Edit group
|
|
|
|
#
|
|
|
|
|
|
|
|
\bind "M-Delete" "word-delete-forward"
|
|
|
|
\bind "M-BackSpace" "word-delete-backward"
|
2007-10-08 13:17:15 +00:00
|
|
|
\bind "M-Return" "break-paragraph inverse"
|
2008-03-26 08:10:01 +00:00
|
|
|
\bind "C-Return" "newline-insert newline"
|
|
|
|
\bind "C-S-Return" "newline-insert linebreak"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-k" "line-delete-forward"
|
2005-10-11 17:58:38 +00:00
|
|
|
\bind "M-space" "space-insert protected"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "nobreakspace" "space-insert protected"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-M-space" "space-insert normal"
|
|
|
|
\bind "S-M-space" "space-insert thin"
|
2008-10-12 14:42:38 +00:00
|
|
|
\bind "C-~S-slash" "specialchar-insert slash"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-period" "specialchar-insert end-of-sentence-period"
|
|
|
|
\bind "M-period" "specialchar-insert dots"
|
2004-08-14 11:12:30 +00:00
|
|
|
\bind "Escape" "cancel"
|
2009-05-11 12:15:36 +00:00
|
|
|
\bind "C-M-Up" "paragraph-move-up"
|
|
|
|
\bind "C-M-Down" "paragraph-move-down"
|
|
|
|
#\bind "F9" "meta-prefix"
|
2004-08-14 11:12:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# LyX menu
|
|
|
|
\bind "C-comma" "dialog-show prefs"
|
|
|
|
|
|
|
|
|
|
|
|
# Include menu and math bindings
|
|
|
|
|
|
|
|
\bind_file menus.bind
|
|
|
|
\bind_file math.bind
|
|
|
|
\bind_file latinkeys.bind
|
|
|
|
\bind_file cyrkeys.bind
|
|
|
|
\bind_file greekkeys.bind
|