1999-09-27 18:44:28 +00:00
|
|
|
# This file is part of
|
|
|
|
# ==================================================================
|
|
|
|
#
|
|
|
|
# LyX, the High Level Word Processor
|
|
|
|
#
|
|
|
|
# Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
|
|
|
|
#
|
|
|
|
# ==================================================================
|
|
|
|
|
|
|
|
#
|
|
|
|
# This is the CUA (Common User Access) flavour bind file, based on
|
|
|
|
# bindings found in the Windows, Mac and Motif world.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
|
|
|
|
# with every new install of LyX and your changes will be lost.
|
|
|
|
# Instead, customize a copy of this file placed in
|
|
|
|
# ~/.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"
|
|
|
|
\bind "C-p" "buffer-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"
|
|
|
|
|
|
|
|
\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"
|
|
|
|
|
|
|
|
\bind "C-f" "find-replace"
|
|
|
|
\bind "C-g" "error-next"
|
2001-07-19 08:52:59 +00:00
|
|
|
\bind "C-i" "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"
|
|
|
|
|
|
|
|
\bind "C-S-C" "layout-copy"
|
|
|
|
\bind "C-S-V" "layout-paste"
|
|
|
|
|
|
|
|
\bind "C-z" "undo"
|
|
|
|
\bind "C-S-Z" "redo"
|
|
|
|
|
2001-07-23 09:11:14 +00:00
|
|
|
\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"
|
|
|
|
\bind "C-S-space" "protected-space-insert"
|
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 "F5" "screen-recenter"
|
|
|
|
\bind "M-F4" "lyx-quit"
|
|
|
|
\bind "F7" "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"
|
|
|
|
|
|
|
|
\bind "C-~S-greater" "reference-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"
|
|
|
|
\bind "S-End" "line-end-select"
|
|
|
|
\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"
|
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"
|
|
|
|
\bind "C-M-~S-1" "bookmark-save 1"
|
|
|
|
\bind "C-M-~S-2" "bookmark-save 2"
|
|
|
|
\bind "C-M-~S-3" "bookmark-save 3"
|
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"
|
1999-09-27 18:44:28 +00:00
|
|
|
\bind "C-space" "protected-space-insert"
|
|
|
|
\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
|