2003-08-22 10:37:26 +00:00
|
|
|
# -*- text -*-
|
|
|
|
|
2003-08-22 09:36:41 +00:00
|
|
|
# file cua.bind
|
|
|
|
# This file is part of LyX, the document processor.
|
|
|
|
# Licence details can be found in the file COPYING.
|
|
|
|
|
|
|
|
# author Asger Alstrup
|
2007-11-24 13:52:46 +00:00
|
|
|
# author Lars Gullik Bjønnes
|
2003-08-22 09:36:41 +00:00
|
|
|
# author Jean-Marc Lasgouttes
|
|
|
|
# author Angus Leeming
|
|
|
|
# author John Levon
|
2007-11-24 13:52:46 +00:00
|
|
|
# author Jürgen Spitzmüller
|
2003-08-22 09:36:41 +00:00
|
|
|
# author Dekel Tsur
|
2007-11-24 13:52:46 +00:00
|
|
|
# author Jürgen Vigna
|
2003-08-22 09:36:41 +00:00
|
|
|
# author Andrew Zabolotny
|
|
|
|
|
|
|
|
# Full author contact details are available in file CREDITS.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-10-13 09:50:10 +00:00
|
|
|
# This is the CUA (Common User Access) flavour bind file, based on
|
1999-09-27 18:44:28 +00:00
|
|
|
# bindings found in the Windows, Mac and Motif world.
|
2003-08-22 09:36:41 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
# DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
|
2003-10-13 09:50:10 +00:00
|
|
|
# with every new install of LyX and your changes will be lost.
|
|
|
|
# Instead, customize a copy of this file placed in
|
1999-09-27 18:44:28 +00:00
|
|
|
# ~/.lyx/bind/cua.bind
|
|
|
|
#
|
|
|
|
# Happy tuning!
|
|
|
|
|
|
|
|
# Free bindings:
|
|
|
|
|
|
|
|
#\bind "C-h"
|
|
|
|
#\bind "C-j"
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2018-08-30 19:56:26 +00:00
|
|
|
Format 5
|
2011-01-18 15:42:27 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-n" "buffer-new"
|
2020-10-09 02:02:06 +00:00
|
|
|
\bind "C-S-N" "dialog-show lyxfiles templates"
|
2001-03-07 14:25:31 +00:00
|
|
|
\bind "C-o" "file-open"
|
2012-09-15 22:37:55 +00:00
|
|
|
\bind "C-w" "view-close"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-s" "buffer-write"
|
|
|
|
\bind "C-S-S" "buffer-write-as"
|
2011-02-14 20:31:46 +00:00
|
|
|
\bind "C-r" "buffer-view"
|
2000-09-11 15:42:17 +00:00
|
|
|
\bind "C-d" "buffer-view dvi" # 'd' for dvi
|
|
|
|
\bind "C-t" "buffer-view ps"
|
2015-11-05 17:08:52 +00:00
|
|
|
\bind "C-M-r" "command-alternatives master-buffer-view; buffer-view"
|
|
|
|
\bind "C-M-t" "command-alternatives master-buffer-view ps; buffer-view ps"
|
|
|
|
\bind "C-M-d" "command-alternatives master-buffer-view dvi; buffer-view dvi"
|
2011-02-14 20:31:46 +00:00
|
|
|
\bind "C-S-R" "buffer-update"
|
2000-09-11 15:42:17 +00:00
|
|
|
\bind "C-S-D" "buffer-update dvi" # 'd' for dvi
|
|
|
|
\bind "C-S-T" "buffer-update ps"
|
2015-11-05 17:08:52 +00:00
|
|
|
\bind "C-M-S-t" "command-alternatives master-buffer-update ps; buffer-update ps"
|
|
|
|
\bind "C-M-S-d" "command-alternatives master-buffer-update dvi; buffer-update dvi"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-q" "lyx-quit"
|
2004-10-22 10:24:55 +00:00
|
|
|
\bind "C-Next" "buffer-next"
|
2007-04-19 16:22:21 +00:00
|
|
|
\bind "C-Tab" "buffer-next"
|
2004-10-22 10:24:55 +00:00
|
|
|
\bind "C-Prior" "buffer-previous"
|
2009-09-11 12:23:29 +00:00
|
|
|
\bind "C-S-BackTab" "buffer-previous"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2015-04-16 23:18:56 +00:00
|
|
|
\bind "C-M-b" "font-bold"
|
|
|
|
\bind "C-b" "font-boldsymbol"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-e" "font-emph"
|
2001-01-25 14:09:58 +00:00
|
|
|
# used below for line-delete-forward
|
|
|
|
#\bind "C-k" "font-noun" # 'k' for capitals
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-u" "font-underline"
|
2007-09-20 18:02:39 +00:00
|
|
|
\bind "C-S-P" "font-typewriter" # 'P' for Program
|
2009-05-03 22:45:14 +00:00
|
|
|
\bind "C-S-O" "font-strikeout"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
\bind "C-m" "math-mode"
|
|
|
|
\bind "C-S-M" "math-display"
|
2008-07-04 13:09:22 +00:00
|
|
|
\bind "C-M-n" "command-sequence math-display; math-number-toggle;"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-06-19 16:49:45 +00:00
|
|
|
\bind "C-f" "dialog-show findreplace"
|
2009-09-22 21:17:29 +00:00
|
|
|
\bind "C-S-f" "dialog-show findreplaceadv"
|
2009-03-30 13:49:52 +00:00
|
|
|
\bind "C-i" "inset-toggle" # 'i' for Inset
|
2018-12-27 10:23:40 +00:00
|
|
|
\bind "C-M-i" "inset-settings"
|
1999-09-27 18:44:28 +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"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
\bind "C-z" "undo"
|
2006-11-06 22:05:18 +00:00
|
|
|
\bind "C-y" "redo"
|
2002-09-09 20:36:31 +00:00
|
|
|
\bind "C-S-Z" "redo"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2014-11-18 01:14:22 +00:00
|
|
|
\bind "C-M-a" "command-sequence buffer-begin ; buffer-end-select" # select all
|
|
|
|
\bind "C-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
|
2016-12-27 07:39:06 +00:00
|
|
|
\bind "~S-M-quotedbl" "quote-insert inner"
|
|
|
|
\bind "~S-C-quotedbl" "quote-insert outer auto plain"
|
2021-02-12 22:09:21 +00:00
|
|
|
\bind "M-minus" "specialchar-insert hyphenation"
|
2010-07-22 16:38:26 +00:00
|
|
|
\bind "C-S-underscore" "math-macro-fold"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-M-minus" "specialchar-insert nobreakdash"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "M-S-Right" "depth-increment"
|
|
|
|
\bind "M-S-Left" "depth-decrement"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-S-L" "specialchar-insert ligature-break"
|
2008-10-12 14:42:38 +00:00
|
|
|
\bind "C-~S-slash" "specialchar-insert slash"
|
2001-07-12 14:35:38 +00:00
|
|
|
\bind "C-l" "ert-insert" # 'l' for LaTeX
|
2007-10-11 15:08:30 +00:00
|
|
|
\bind "C-S-I" "info-insert"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
#bind "F1" "help" # Not yet implemented!
|
|
|
|
#bind "C-F1" "help-context" # Not yet implemented!
|
2020-03-31 06:01:17 +00:00
|
|
|
\bind "F2" "buffer-write force"
|
2008-03-26 19:39:53 +00:00
|
|
|
\bind "F3" "word-find"
|
2021-02-13 06:57:32 +00:00
|
|
|
\bind "C-F3" "word-find-backward"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-F4" "buffer-close"
|
|
|
|
\bind "M-F4" "lyx-quit"
|
2004-10-22 10:24:55 +00:00
|
|
|
\bind "F5" "screen-recenter"
|
2007-12-27 11:37:07 +00:00
|
|
|
\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"
|
2004-10-22 10:24:55 +00:00
|
|
|
\bind "C-F6" "buffer-next"
|
|
|
|
\bind "C-S-F6" "buffer-previous"
|
2003-06-19 16:49:45 +00:00
|
|
|
\bind "F7" "dialog-show spellchecker"
|
2001-07-29 10:42:11 +00:00
|
|
|
\bind "S-F7" "thesaurus-entry"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
\bind "M-x" "command-execute"
|
2015-05-21 12:05:36 +00:00
|
|
|
\bind "C-M-o" "dialog-show toc"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2008-02-19 21:51:55 +00:00
|
|
|
\bind "F11" "ui-toggle fullscreen"
|
|
|
|
|
2021-02-12 22:09:21 +00:00
|
|
|
\bind "C-0" "buffer-zoom"
|
|
|
|
\bind "C-equal" "buffer-zoom-in"
|
|
|
|
\bind "C-plus" "buffer-zoom-in"
|
|
|
|
\bind "C-minus" "buffer-zoom-out"
|
2009-04-11 14:26:47 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
#
|
|
|
|
# Motion group
|
|
|
|
#
|
|
|
|
|
2016-01-27 17:22:32 +00:00
|
|
|
\bind "M-Up" "command-alternatives outline-up; paragraph-move-up; tabular-feature move-row-up"
|
|
|
|
\bind "M-Down" "command-alternatives outline-down; paragraph-move-down; tabular-feature move-row-down"
|
|
|
|
\bind "M-Right" "tabular-feature move-column-right"
|
|
|
|
\bind "M-Left" "tabular-feature move-column-left"
|
2007-10-28 20:35:57 +00:00
|
|
|
\bind "C-Right" "word-right"
|
|
|
|
\bind "C-Left" "word-left"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-Up" "paragraph-up"
|
|
|
|
\bind "C-Down" "paragraph-down"
|
|
|
|
\bind "C-Home" "buffer-begin"
|
|
|
|
\bind "C-End" "buffer-end"
|
2009-03-16 13:33:27 +00:00
|
|
|
\bind "M-C-Home" "inset-begin"
|
|
|
|
\bind "M-C-End" "inset-end"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2005-05-09 18:28:30 +00:00
|
|
|
\bind "C-~S-greater" "label-goto"
|
2001-01-28 18:34:57 +00:00
|
|
|
\bind "C-~S-less" "bookmark-goto 0"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Motion + select group
|
|
|
|
#
|
|
|
|
|
2007-10-22 22:18:52 +00:00
|
|
|
\bind "S-Right" "char-right-select"
|
|
|
|
\bind "S-Left" "char-left-select"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "S-Up" "up-select"
|
|
|
|
\bind "S-Down" "down-select"
|
2007-10-28 20:35:57 +00:00
|
|
|
\bind "S-C-Right" "word-right-select"
|
|
|
|
\bind "S-C-Left" "word-left-select"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "S-C-Up" "paragraph-up-select"
|
|
|
|
\bind "S-C-Down" "paragraph-down-select"
|
|
|
|
\bind "S-Home" "line-begin-select"
|
2003-10-13 09:50:10 +00:00
|
|
|
\bind "S-End" "line-end-select"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "S-Prior" "screen-up-select"
|
|
|
|
\bind "S-Next" "screen-down-select"
|
|
|
|
\bind "S-C-Home" "buffer-begin-select"
|
|
|
|
\bind "S-C-End" "buffer-end-select"
|
2009-03-16 13:33:27 +00:00
|
|
|
\bind "S-M-C-Home" "inset-begin-select"
|
|
|
|
\bind "S-M-C-End" "inset-end-select"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-Insert" "copy"
|
|
|
|
\bind "S-Insert" "paste"
|
|
|
|
\bind "S-Delete" "cut"
|
2002-07-10 14:23:24 +00:00
|
|
|
|
|
|
|
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
|
2014-02-16 17:50:27 +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-C-KP_Right" "word-right-select"
|
|
|
|
\bind "S-C-KP_Left" "word-left-select"
|
|
|
|
\bind "S-C-KP_Up" "paragraph-up-select"
|
|
|
|
\bind "S-C-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"
|
2015-04-08 03:18:21 +00:00
|
|
|
\bind "S-C-KP_Prior" "buffer-move-previous"
|
|
|
|
\bind "S-C-KP_Next" "buffer-move-next"
|
2014-02-16 17:50:27 +00:00
|
|
|
\bind "C-KP_Insert" "copy"
|
|
|
|
\bind "S-KP_Insert" "paste"
|
|
|
|
\bind "S-KP_Delete" "cut"
|
2002-07-10 14:23:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# bookmarks
|
|
|
|
#
|
|
|
|
|
2001-02-02 16:48:59 +00:00
|
|
|
\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"
|
2015-05-27 23:31:54 +00:00
|
|
|
\bind "S-F1" "bookmark-save 1"
|
|
|
|
\bind "S-F2" "bookmark-save 2"
|
|
|
|
\bind "S-F3" "bookmark-save 3"
|
|
|
|
\bind "S-F4" "bookmark-save 4"
|
|
|
|
\bind "S-F5" "bookmark-save 5"
|
|
|
|
\bind "S-F6" "bookmark-save 6"
|
|
|
|
\bind "S-F7" "bookmark-save 7"
|
|
|
|
\bind "S-F8" "bookmark-save 8"
|
|
|
|
\bind "S-F9" "bookmark-save 9"
|
2001-01-28 22:00:47 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Edit group
|
|
|
|
#
|
|
|
|
|
|
|
|
\bind "C-Delete" "word-delete-forward"
|
|
|
|
\bind "C-BackSpace" "word-delete-backward"
|
2012-09-29 16:06:42 +00:00
|
|
|
\bind "M-Return" "paragraph-break inverse"
|
2008-03-26 08:10:01 +00:00
|
|
|
\bind "C-Return" "newline-insert newline"
|
|
|
|
\bind "C-S-Return" "newline-insert linebreak"
|
2001-01-25 14:09:58 +00:00
|
|
|
\bind "C-k" "line-delete-forward"
|
2014-02-15 09:02:44 +00:00
|
|
|
\bind "C-space" "command-alternatives math-space ; space-insert protected"
|
2008-11-03 11:30:11 +00:00
|
|
|
\bind "nobreakspace" "space-insert protected"
|
2007-12-06 11:04:56 +00:00
|
|
|
\bind "C-M-space" "space-insert normal"
|
|
|
|
\bind "S-C-space" "space-insert thin"
|
|
|
|
\bind "C-period" "specialchar-insert end-of-sentence"
|
|
|
|
\bind "M-period" "specialchar-insert dots"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "Escape" "cancel"
|
|
|
|
\bind "F9" "meta-prefix"
|
|
|
|
|
|
|
|
# Include menu and math bindings
|
|
|
|
|
|
|
|
\bind_file menus.bind
|
|
|
|
\bind_file math.bind
|
2001-05-16 07:53:23 +00:00
|
|
|
\bind_file latinkeys.bind
|
2002-07-16 22:03:20 +00:00
|
|
|
\bind_file cyrkeys.bind
|
|
|
|
\bind_file greekkeys.bind
|