cmds: implement OpenDefaultApp for Windows
[git-cola.git] / docs / hotkeys_zh_CN.html
blobedca204d367376348f45be383b6881666c9126b6
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <style type="text/css">
6 body {
7 font-family: Helvetica, Ubuntu, sans;
8 background-color: #303030;
9 color: #fff;
12 table.center {
13 width: 50%;
14 float: left;
15 padding-bottom: 20px;
18 td {
19 vertical-align: top;
22 td.title {
23 color: #ff6;
24 font-weight: bold;
27 td.shortcut {
28 font-family: Monaco, "Ubuntu Mono", monospace;
29 color: #ff6;
30 text-align: right;
31 font-size: 0.8em;
34 span.title {
35 font-size: 1.3em;
36 font-weight: bold;
38 </style>
39 </head>
41 <body>
42 <span class="title">键盘快捷键</span>
43 <hr />
45 <!-- Preparing Commits -->
46 <table class="center">
47 <tr>
48 <td width="35%">&nbsp;</td>
49 <td>&nbsp;</td>
50 <td class="title">提交</td>
51 </tr>
52 <tr>
53 <td class="shortcut">Ctrl + Return</td>
54 <td>:</td>
55 <td>提交已缓存变更</td>
56 </tr>
57 <tr>
58 <td class="shortcut">Ctrl + Shift + Return</td>
59 <td>:</td>
60 <td>Prepare commit message hook</td>
61 </tr>
62 <tr>
63 <td class="shortcut">Ctrl + S</td>
64 <td>:</td>
65 <td>缓存所选项目</td>
66 </tr>
67 <tr>
68 <td class="shortcut">Ctrl + Shift + S</td>
69 <td>:</td>
70 <!-- TODO -->
71 <td>Stage / unstage all files</td>
72 </tr>
73 <tr>
74 <td class="shortcut">Alt + A</td>
75 <td>:</td>
76 <td>缓存已更改项目</td>
77 </tr>
78 <tr>
79 <td class="shortcut">Alt + U</td>
80 <td>:</td>
81 <td>缓存未追踪项目</td>
82 </tr>
83 <tr>
84 <td class="shortcut">Ctrl + U</td>
85 <td>:</td>
86 <td>还原缓存改动</td>
87 </tr>
88 <tr>
89 <td class="shortcut">Ctrl + Z</td>
90 <td>:</td>
91 <td>撤销未缓存变更</td>
92 </tr>
93 <tr>
94 <td class="shortcut">Ctrl + Shift + M</td>
95 <td>:</td>
96 <!-- TODO -->
97 <td>Merge branches</td>
98 </tr>
99 <tr>
100 <td class="shortcut">Ctrl + M</td>
101 <td>:</td>
102 <td>修正前一次提交</td>
103 </tr>
104 <tr>
105 <td class="shortcut">Ctrl + Shift + C</td>
106 <td>:</td>
107 <!-- TODO -->
108 <td>Cherry pick</td>
109 </tr>
110 </table>
112 <!-- Actions -->
113 <table class="center">
114 <tr>
115 <td width="35%">&nbsp;</td>
116 <td>&nbsp;</td>
117 <td class="title">操作</td>
118 </tr>
119 <tr>
120 <td class="shortcut">Ctrl + B</td>
121 <td>:</td>
122 <td>建立新分支</td>
123 </tr>
124 <tr>
125 <td class="shortcut">Alt + B</td>
126 <td>:</td>
127 <td>取出分支內容</td>
128 </tr>
129 <tr>
130 <td class="shortcut">T / Ctrl + T</td>
131 <td>:</td>
132 <td>Find files</td>
133 </tr>
134 <tr>
135 <td class="shortcut">Ctrl + G</td>
136 <td>:</td>
137 <td>搜索</td>
138 </tr>
139 <tr>
140 <td class="shortcut">Alt + D</td>
141 <td>:</td>
142 <td>显示内容差异</td>
143 </tr>
144 <tr>
145 <td class="shortcut">Alt + Shift + E</td>
146 <td>:</td>
147 <td>导出差异</td>
148 </tr>
149 <tr>
150 <td class="shortcut">Alt + Shift + S</td>
151 <td>:</td>
152 <td>缓存</td>
153 </tr>
154 <tr>
155 <td class="shortcut">Ctrl + Enter</td>
156 <td>:</td>
157 <td>Apply Stash</td>
158 </tr>
159 <tr>
160 <td class="shortcut">Ctrl + Backspace</td>
161 <td>:</td>
162 <td>Pop Stash</td>
163 </tr>
164 <tr>
165 <td class="shortcut">Ctrl + Shift + Backspace</td>
166 <td>:</td>
167 <td>Drop Stash</td>
168 </tr>
169 <tr>
170 <td class="shortcut">Ctrl + Backspace</td>
171 <td>:</td>
172 <td>Delete untracked files</td>
173 </tr>
174 <tr>
175 <td class="shortcut">Ctrl + Shift + f</td>
176 <td>:</td>
177 <td>Toggle paths filter</td>
178 </tr>
179 <tr>
180 <td class="shortcut">Ctrl + R</td>
181 <td>:</td>
182 <td>重新整理</td>
183 </tr>
184 <tr>
185 <td class="shortcut">?</td>
186 <td>:</td>
187 <td>显示键盘快捷键列表</td>
188 </tr>
189 </table>
191 <!-- Editing -->
192 <table class="center">
193 <tr>
194 <td width="35%">&nbsp;</td>
195 <td>&nbsp;</td>
196 <td class="title">编辑</td>
197 </tr>
198 <tr>
199 <td class="shortcut">Enter / Ctrl + E</td>
200 <td>:</td>
201 <td>启动文本编辑器</td>
202 </tr>
203 <tr>
204 <td class="shortcut">空白鍵</td>
205 <td>:</td>
206 <td>用默认程序打开</td>
207 </tr>
208 <tr>
209 <td class="shortcut">Shift + 空白鍵</td>
210 <td>:</td>
211 <td>打开上级目录</td>
212 </tr>
213 <tr>
214 <td class="shortcut">Ctrl + Shift + E</td>
215 <td>:</td>
216 <td>查看 / 编辑最近修改的文件</td>
217 </tr>
218 <tr>
219 <td class="shortcut">Ctrl + #</td>
220 <td>:</td>
221 <td>聚焦于工具</td>
222 </tr>
223 <tr>
224 <td class="shortcut">Ctrl + Shift + #</td>
225 <td>:</td>
226 <td>显示/隐藏工具</td>
227 </tr>
228 </table>
230 <!-- Diff -->
231 <table class="center">
232 <tr>
233 <td width="35%">&nbsp;</td>
234 <td>&nbsp;</td>
235 <td class="title">差异查看器</td>
236 </tr>
237 <tr>
238 <td class="shortcut">S</td>
239 <td>:</td>
240 <td>缓存所选项目,未选择项目时与<strong><em>H</em></strong>作用相同
241 </td>
242 </tr>
243 <tr>
244 <td class="shortcut">Ctrl + D</td>
245 <td>:</td>
246 <td>使用「git difftool」命令查看内容差异</td>
247 </tr>
248 <tr>
249 <td class="shortcut">Ctrl + Shift + D</td>
250 <td>:</td>
251 <td>View directory diff using `git difftool --dir-diff`</td>
252 </tr>
253 </table>
256 <!-- Browser actions -->
257 <table class="center">
258 <tr>
259 <td width="35%">&nbsp;</td>
260 <td>&nbsp;</td>
261 <td class="title">「浏览器」窗口操作</td>
262 </tr>
263 <tr>
264 <td class="shortcut">Ctrl + Shift + H</td>
265 <td>:</td>
266 <td>查看变更历史</td>
267 </tr>
268 <tr>
269 <td class="shortcut">Ctrl + Shift + D</td>
270 <td>:</td>
271 <td>与之前版本比较差异</td>
272 </tr>
273 <tr>
274 <td class="shortcut">Ctrl + Alt + C</td>
275 <td>:</td>
276 <td>Copy SHA-1</td>
277 </tr>
278 </table>
280 <!-- Tree navigation -->
281 <table class="center">
282 <tr>
283 <td width="35%">&nbsp;</td>
284 <td>&nbsp;</td>
285 <td class="title">导航键</td>
286 </tr>
287 <tr>
288 <td class="shortcut">H</td>
289 <td>:</td>
290 <td>左移/折叠</td>
291 </tr>
292 <tr>
293 <td class="shortcut">J / Alt + J</td>
294 <td>:</td>
295 <td>下移</td>
296 </tr>
297 <tr>
298 <td class="shortcut">K / Alt + K</td>
299 <td>:</td>
300 <td>上移</td>
301 </tr>
302 <tr>
303 <td class="shortcut">L</td>
304 <td>:</td>
305 <td>右移/展开</td>
306 </tr>
307 <!-- TODO: translate the following -->
308 <tr>
309 <td class="shortcut">Ctrl + J</td>
310 <td>:</td>
311 <td>Focus the Diff Editor</td>
312 </tr>
313 <tr>
314 <td class="shortcut">Ctrl + K</td>
315 <td>:</td>
316 <td>Focus the Status tool</td>
317 </tr>
318 <tr title="Ctrl+L also focuses the DAG revspec, grep query, ...">
319 <td class="shortcut">Ctrl + L</td>
320 <td>:</td>
321 <!-- TODO: Focus the Commit tool -->
322 <td>聚焦在 DAG 输入框</td>
323 </tr>
324 </table>
325 </body>