]> git.lyx.org Git - lyx.git/blob - lib/bind/cua.bind
fix typo that put too many include paths for most people
[lyx.git] / lib / bind / cua.bind
1 # This file is part of
2 # ==================================================================
3 #
4 #                  LyX, the High Level Word Processor
5
6 #         Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
7 #
8 # ==================================================================
9
10 #
11 # This is the CUA (Common User Access) flavour bind file, based on 
12 # bindings found in the Windows, Mac and Motif world.
13 #
14 #
15 # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
16 # with every new install of LyX and your changes will be lost. 
17 # Instead, customize a copy of this file placed in 
18 # ~/.lyx/bind/cua.bind
19 #
20 # Happy tuning!
21
22 # Free bindings:
23
24 #\bind "C-a"
25 #\bind "C-h"
26 #\bind "C-j"
27 #\bind "C-y"
28
29
30 ###
31
32 \bind "C-n"                     "buffer-new"
33 \bind "C-S-N"                   "buffer-new-template"
34 \bind "C-o"                     "file-open"
35 \bind "C-r"                     "buffer-reload"
36 \bind "C-w"                     "buffer-close"
37 \bind "C-s"                     "buffer-write"
38 \bind "C-S-S"                   "buffer-write-as"
39 \bind "C-p"                     "buffer-print" 
40 \bind "C-d"                     "buffer-view dvi"       # 'd' for dvi
41 \bind "C-t"                     "buffer-view ps"
42 \bind "C-S-D"                   "buffer-update dvi"     # 'd' for dvi
43 \bind "C-S-T"                   "buffer-update ps"
44 \bind "C-q"                     "lyx-quit"
45
46 \bind "C-b"                     "font-bold"
47 \bind "C-e"                     "font-emph"
48 # used below for line-delete-forward
49 #\bind "C-k"                    "font-noun"             # 'k' for capitals
50 \bind "C-u"                     "font-underline"
51 \bind "C-S-P"                   "font-code"             # 'P' for program
52
53 \bind "C-m"                     "math-mode"
54 \bind "C-S-M"                   "math-display"
55
56 \bind "C-f"                     "find-replace"
57 \bind "C-g"                     "error-next"
58 \bind "C-i"                     "inset-toggle"          # 'i' for Inset
59
60 \bind "C-c"                     "copy"
61 \bind "C-x"                     "cut"
62 \bind "C-v"                     "paste"
63
64 \bind "C-S-C"                   "layout-copy"
65 \bind "C-S-V"                   "layout-paste"
66
67 \bind "C-z"                     "undo"
68 \bind "C-S-Z"                   "redo"
69
70 \bind "~S-C-quotedbl"           "self-insert \""
71 \bind "C-minus"                 "hyphenation-point-insert"
72 \bind "M-S-Right"               "depth-increment"
73 \bind "M-S-Left"                "depth-decrement"
74 \bind "C-S-space"               "protected-space-insert"
75 \bind "C-S-L"                   "ligature-break-insert"
76 \bind "C-l"                     "ert-insert"            # 'l' for LaTeX
77
78 #bind "F1"                      "help"                  # Not yet implemented!
79 #bind "C-F1"                    "help-context"          # Not yet implemented!
80 \bind "F2"                      "buffer-write"
81 \bind "F3"                      "file-open"
82 \bind "C-F4"                    "buffer-close"
83 \bind "F5"                      "screen-recenter"
84 \bind "M-F4"                    "lyx-quit"
85 \bind "F7"                      "spellchecker"
86 \bind "S-F7"                    "thesaurus-entry"
87
88 \bind "M-x"                     "command-execute"
89
90 #
91 # Motion group
92 #
93
94 \bind "C-Right"                 "word-forward"
95 \bind "C-Left"                  "word-backward"
96 \bind "C-Up"                    "paragraph-up"
97 \bind "C-Down"                  "paragraph-down"
98 \bind "C-Home"                  "buffer-begin"
99 \bind "C-End"                   "buffer-end"
100
101 \bind "C-~S-greater"            "reference-goto"
102 \bind "C-~S-less"               "bookmark-goto 0"
103
104
105 #
106 # Motion + select group
107 #
108
109 \bind "S-Right"                 "forward-select"
110 \bind "S-Left"                  "backward-select"
111 \bind "S-Up"                    "up-select"
112 \bind "S-Down"                  "down-select"
113 \bind "S-C-Right"               "word-forward-select"
114 \bind "S-C-Left"                "word-backward-select"
115 \bind "S-C-Up"                  "paragraph-up-select"
116 \bind "S-C-Down"                "paragraph-down-select"
117 \bind "S-Home"                  "line-begin-select"
118 \bind "S-End"                   "line-end-select"               
119 \bind "S-Prior"                 "screen-up-select"
120 \bind "S-Next"                  "screen-down-select"
121 \bind "S-C-Home"                "buffer-begin-select"
122 \bind "S-C-End"                 "buffer-end-select"
123 \bind "C-Insert"                "copy"
124 \bind "S-Insert"                "paste"
125 \bind "S-Delete"                "cut"
126 \bind "C-~S-1"                  "bookmark-goto 1"
127 \bind "C-~S-2"                  "bookmark-goto 2"
128 \bind "C-~S-3"                  "bookmark-goto 3"
129 \bind "C-M-~S-1"                "bookmark-save 1"
130 \bind "C-M-~S-2"                "bookmark-save 2"
131 \bind "C-M-~S-3"                "bookmark-save 3"
132
133
134 #
135 # Edit group
136 #
137
138 \bind "C-Delete"                "word-delete-forward"
139 \bind "C-BackSpace"             "word-delete-backward"
140 \bind "M-Return"                "break-paragraph-keep-layout"
141 \bind "C-Return"                "break-line"
142 \bind "C-k"                     "line-delete-forward"
143 \bind "C-space"                 "protected-space-insert"
144 \bind "C-period"                "end-of-sentence-period-insert"
145 \bind "M-period"                "dots-insert"
146 \bind "Escape"                  "cancel"
147 \bind "F9"                      "meta-prefix"
148
149 # Include menu and math bindings
150
151 \bind_file menus.bind
152 \bind_file math.bind
153 \bind_file latinkeys.bind