5 <style type=
"text/css">
7 font-family: Helvetica
, Ubuntu
, sans
;
8 background-color: #303030;
28 font-family: Monaco
, "Ubuntu Mono", monospace
;
42 <span class=
"title">键盘快捷键
</span>
45 <!-- Preparing Commits -->
46 <table class=
"center">
48 <td width=
"35%"> </td>
50 <td class=
"title">提交
</td>
53 <td class=
"shortcut">Ctrl + Return
</td>
58 <td class=
"shortcut">Ctrl + Shift + Return
</td>
60 <td>Prepare commit message hook
</td>
63 <td class=
"shortcut">Ctrl + S
</td>
68 <td class=
"shortcut">Ctrl + Shift + S
</td>
71 <td>Stage / unstage all files
</td>
74 <td class=
"shortcut">Alt + A
</td>
79 <td class=
"shortcut">Alt + U
</td>
84 <td class=
"shortcut">Ctrl + U
</td>
89 <td class=
"shortcut">Ctrl + Shift + U
</td>
92 <td>Launch an external editor to edit the selected lines, or the diff hunk beneath
93 the text cursor when nothing is selected, and then revert unstaged changes
94 using the edited diff
</td>
97 <td class=
"shortcut">Ctrl + Z
</td>
102 <td class=
"shortcut">Ctrl + Shift + M
</td>
105 <td>Merge branches
</td>
108 <td class=
"shortcut">Ctrl + M
</td>
113 <td class=
"shortcut">Ctrl + Shift + C
</td>
121 <table class=
"center">
123 <td width=
"35%"> </td>
125 <td class=
"title">操作
</td>
128 <td class=
"shortcut">Ctrl + B
</td>
133 <td class=
"shortcut">Alt + B
</td>
138 <td class=
"shortcut">Ctrl + T
</td>
143 <td class=
"shortcut">Alt + G
</td>
148 <td class=
"shortcut">Alt + D
</td>
153 <td class=
"shortcut">Alt + Shift + E
</td>
158 <td class=
"shortcut">Alt + Shift + S
</td>
163 <td class=
"shortcut">Ctrl + Enter
</td>
168 <td class=
"shortcut">Ctrl + Backspace
</td>
173 <td class=
"shortcut">Ctrl + Shift + Backspace
</td>
178 <td class=
"shortcut">Ctrl + Backspace
</td>
180 <td>Delete untracked files
</td>
183 <td class=
"shortcut">Ctrl + Shift + f
</td>
185 <td>Toggle paths filter
</td>
188 <td class=
"shortcut">Ctrl + R
</td>
193 <td class=
"shortcut">?
</td>
200 <table class=
"center">
202 <td width=
"35%"> </td>
204 <td class=
"title">编辑
</td>
207 <td class=
"shortcut">Enter / Ctrl + E
</td>
212 <td class=
"shortcut">空白鍵
</td>
217 <td class=
"shortcut">Shift + 空白鍵
</td>
222 <td class=
"shortcut">Ctrl + Alt + C
</td>
224 <td>Copy Commit ID
</td>
227 <td class=
"shortcut">Ctrl + Shift + E
</td>
229 <td>查看 / 编辑最近修改的文件
</td>
232 <td class=
"shortcut">Ctrl + #
</td>
237 <td class=
"shortcut">Ctrl + Shift + #
</td>
244 <table class=
"center">
246 <td width=
"35%"> </td>
248 <td class=
"title">差异查看器
</td>
251 <td class=
"shortcut">S
</td>
253 <td>缓存所选项目,未选择项目时与
<strong><em>H
</em></strong>作用相同
257 <td class=
"shortcut">Ctrl + Shift + S
</td>
259 <td>Launch an external editor to edit the selected lines, or the diff hunk benath the
260 text cursor when nothing is selected, and then stage the edited diff
</td>
263 <td class=
"shortcut">Ctrl + D
</td>
265 <td>使用「git difftool」命令查看内容差异
</td>
268 <td class=
"shortcut">Ctrl + F
</td>
270 <td>Search diff for matching text
</td>
273 <td class=
"shortcut">Ctrl + G
</td>
275 <td>Search diff for the next text match
</td>
278 <td class=
"shortcut">Ctrl + Shift + G
</td>
280 <td>Search diff for the previous text match
</td>
283 <td class=
"shortcut">Alt + Shift + C
</td>
285 <td>Copy Diff to clipboard (strips diff +/- prefixes)
</td>
288 <td class=
"shortcut">Ctrl + Shift + D
</td>
290 <td>View directory diff using `git difftool --dir-diff`
</td>
294 <td class=
"shortcut">Shift
</td>
296 <td>Hold Shift to select text when moving the cursor with H, J, K, L
300 <td class=
"shortcut">Space / Shift + Space
</td>
302 <td>Page Down / Page Up
</td>
305 <td class=
"shortcut">0 (Zero)
</td>
307 <td>Move cursor to the start of the line
</td>
310 <td class=
"shortcut">$ (Shift +
4)
</td>
312 <td>Move cursor to the end of the line
</td>
315 <td class=
"shortcut">G G
</td>
317 <td>Move cursor to the start of the diff
</td>
320 <td class=
"shortcut">Shift + G
</td>
322 <td>Move cursor to the end of the diff
</td>
326 <!-- Browser actions -->
327 <table class=
"center">
329 <td width=
"35%"> </td>
331 <td class=
"title">「浏览器」窗口操作
</td>
334 <td class=
"shortcut">Ctrl + Shift + H
</td>
339 <td class=
"shortcut">Ctrl + Shift + D
</td>
345 <!-- Tree navigation -->
346 <table class=
"center">
348 <td width=
"35%"> </td>
350 <td class=
"title">导航键
</td>
353 <td class=
"shortcut">H
</td>
358 <td class=
"shortcut">J / Alt + J
</td>
363 <td class=
"shortcut">K / Alt + K
</td>
368 <td class=
"shortcut">L
</td>
374 <td class=
"shortcut">Ctrl + J
</td>
376 <td>Focus the Diff Editor
</td>
379 <td class=
"shortcut">Ctrl + K
</td>
381 <td>Focus the Status tool
</td>
384 <td class=
"shortcut">Ctrl + L
</td>
386 <!-- TODO: Focus the Commit summary, Grep query, DAG query, ...-->