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
|
2008-01-05 17:34:20 +00:00
|
|
|
|
# author Lars Gullik Bj<42>nnes
|
2003-08-22 09:36:41 +00:00
|
|
|
|
# author Jean-Marc Lasgouttes
|
|
|
|
|
# author Angus Leeming
|
|
|
|
|
# author John Levon
|
2008-01-05 17:34:20 +00:00
|
|
|
|
# author J<>rgen Spitzm<7A>ller
|
2003-08-22 09:36:41 +00:00
|
|
|
|
# author Dekel Tsur
|
2008-01-05 17:34:20 +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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
\bind "C-n" "buffer-new"
|
|
|
|
|
\bind "C-S-N" "buffer-new-template"
|
2001-03-07 14:25:31 +00:00
|
|
|
|
\bind "C-o" "file-open"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "C-w" "buffer-close"
|
|
|
|
|
\bind "C-s" "buffer-write"
|
|
|
|
|
\bind "C-S-S" "buffer-write-as"
|
2003-10-13 09:50:10 +00:00
|
|
|
|
\bind "C-p" "dialog-show print"
|
2000-09-11 15:42:17 +00:00
|
|
|
|
\bind "C-d" "buffer-view dvi" # 'd' for dvi
|
|
|
|
|
\bind "C-t" "buffer-view ps"
|
2007-09-25 17:18:33 +00:00
|
|
|
|
\bind "C-M-t" "master-buffer-view ps"
|
|
|
|
|
\bind "C-M-d" "master-buffer-view dvi"
|
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"
|
2007-09-25 17:18:33 +00:00
|
|
|
|
\bind "C-M-S-t" "master-buffer-update ps"
|
|
|
|
|
\bind "C-M-S-d" "master-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"
|
2007-04-21 13:20:45 +00:00
|
|
|
|
\bind "C-S-Tab" "buffer-previous"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
\bind "C-b" "font-bold"
|
|
|
|
|
\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"
|
|
|
|
|
\bind "C-S-P" "font-code" # 'P' for program
|
|
|
|
|
|
|
|
|
|
\bind "C-m" "math-mode"
|
|
|
|
|
\bind "C-S-M" "math-display"
|
2008-01-05 13:07:21 +00:00
|
|
|
|
\bind "C-M-n" "command-sequence math-display; math-number;"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2003-06-19 16:49:45 +00:00
|
|
|
|
\bind "C-f" "dialog-show findreplace"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "C-g" "error-next"
|
2004-03-30 12:36:33 +00:00
|
|
|
|
\bind "C-i" "next-inset-toggle" # 'i' for Inset
|
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
|
|
|
|
|
2007-01-30 22:26:50 +00:00
|
|
|
|
\bind "C-a" "command-sequence buffer-begin ; buffer-end-select" # select all
|
|
|
|
|
|
2006-05-08 18:09:19 +00:00
|
|
|
|
\bind "C-S-E" "changes-track" # it's what MS Word uses
|
2005-10-25 08:39:15 +00:00
|
|
|
|
\bind "~S-M-quotedbl" "quote-insert single"
|
|
|
|
|
\bind "~S-C-quotedbl" "self-insert \""
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "C-minus" "hyphenation-point-insert"
|
|
|
|
|
\bind "M-S-Right" "depth-increment"
|
|
|
|
|
\bind "M-S-Left" "depth-decrement"
|
2001-07-23 10:04:17 +00:00
|
|
|
|
\bind "C-S-L" "ligature-break-insert"
|
2001-07-12 14:35:38 +00:00
|
|
|
|
\bind "C-l" "ert-insert" # 'l' for LaTeX
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
#bind "F1" "help" # Not yet implemented!
|
|
|
|
|
#bind "C-F1" "help-context" # Not yet implemented!
|
|
|
|
|
\bind "F2" "buffer-write"
|
2001-03-07 14:25:31 +00:00
|
|
|
|
\bind "F3" "file-open"
|
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"
|
|
|
|
|
\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"
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Motion group
|
|
|
|
|
#
|
|
|
|
|
|
2006-04-26 22:43:26 +00:00
|
|
|
|
\bind "M-Up" "paragraph-move-up"
|
|
|
|
|
\bind "M-Down" "paragraph-move-down"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "C-Right" "word-forward"
|
|
|
|
|
\bind "C-Left" "word-backward"
|
|
|
|
|
\bind "C-Up" "paragraph-up"
|
|
|
|
|
\bind "C-Down" "paragraph-down"
|
|
|
|
|
\bind "C-Home" "buffer-begin"
|
|
|
|
|
\bind "C-End" "buffer-end"
|
|
|
|
|
|
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
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
\bind "S-Right" "forward-select"
|
|
|
|
|
\bind "S-Left" "backward-select"
|
|
|
|
|
\bind "S-Up" "up-select"
|
|
|
|
|
\bind "S-Down" "down-select"
|
|
|
|
|
\bind "S-C-Right" "word-forward-select"
|
|
|
|
|
\bind "S-C-Left" "word-backward-select"
|
|
|
|
|
\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"
|
|
|
|
|
\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)
|
|
|
|
|
\bind "S-KP_Right" "forward-select"
|
|
|
|
|
\bind "S-KP_Left" "backward-select"
|
|
|
|
|
\bind "S-KP_Up" "up-select"
|
|
|
|
|
\bind "S-KP_Down" "down-select"
|
|
|
|
|
\bind "S-C-KP_Right" "word-forward-select"
|
|
|
|
|
\bind "S-C-KP_Left" "word-backward-select"
|
|
|
|
|
\bind "S-C-KP_Up" "paragraph-up-select"
|
|
|
|
|
\bind "S-C-KP_Down" "paragraph-down-select"
|
|
|
|
|
\bind "S-KP_Home" "line-begin-select"
|
2003-10-13 09:50:10 +00:00
|
|
|
|
\bind "S-KP_End" "line-end-select"
|
2002-07-10 14:23:24 +00:00
|
|
|
|
\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"
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# 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"
|
2001-02-02 16:48:59 +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"
|
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"
|
2007-10-08 13:35:16 +00:00
|
|
|
|
\bind "M-Return" "break-paragraph inverse"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "C-Return" "break-line"
|
2001-01-25 14:09:58 +00:00
|
|
|
|
\bind "C-k" "line-delete-forward"
|
2003-05-22 10:40:57 +00:00
|
|
|
|
\bind "C-space" "space-insert protected"
|
|
|
|
|
\bind "C-M-space" "space-insert normal"
|
|
|
|
|
\bind "S-C-space" "space-insert thin"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "C-period" "end-of-sentence-period-insert"
|
|
|
|
|
\bind "M-period" "dots-insert"
|
|
|
|
|
\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
|