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
|
|
|
|
|
# author Lars Gullik Bj<42>nnes
|
|
|
|
|
# author Jean-Marc Lasgouttes
|
|
|
|
|
# author Angus Leeming
|
|
|
|
|
# author John Levon
|
|
|
|
|
# author J<>rgen Spitzm<7A>ller
|
|
|
|
|
# author Dekel Tsur
|
|
|
|
|
# author J<>rgen Vigna
|
|
|
|
|
# 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-a"
|
|
|
|
|
#\bind "C-h"
|
|
|
|
|
#\bind "C-j"
|
|
|
|
|
#\bind "C-y"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
\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-r" "buffer-reload"
|
|
|
|
|
\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"
|
|
|
|
|
\bind "C-S-D" "buffer-update dvi" # 'd' for dvi
|
|
|
|
|
\bind "C-S-T" "buffer-update ps"
|
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"
|
|
|
|
|
\bind "C-Prior" "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"
|
|
|
|
|
|
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"
|
2005-09-06 16:41:52 +00:00
|
|
|
|
\bind "C-M-v" "primary-selection-paste"
|
|
|
|
|
\bind "C-S-v" "primary-selection-paste paragraph"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
\bind "C-z" "undo"
|
2002-09-09 20:36:31 +00:00
|
|
|
|
\bind "C-S-Z" "redo"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2003-03-27 18:36:38 +00:00
|
|
|
|
\bind "C-S-E" "track-changes" # 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
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
\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"
|
2001-02-02 16:48:59 +00:00
|
|
|
|
\bind "C-M-~S-1" "bookmark-save 1"
|
|
|
|
|
\bind "C-M-~S-2" "bookmark-save 2"
|
|
|
|
|
\bind "C-M-~S-3" "bookmark-save 3"
|
2005-01-15 18:36:02 +00:00
|
|
|
|
\bind "C-M-~S-4" "bookmark-save 4"
|
|
|
|
|
\bind "C-M-~S-5" "bookmark-save 5"
|
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"
|
|
|
|
|
\bind "M-Return" "break-paragraph-keep-layout"
|
|
|
|
|
\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
|