summaryrefslogtreecommitdiffstats
path: root/docs/keybindings/Keybindings_zh-CN.md
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-03-01 10:03:05 +0100
committerStefan Haller <stefan@haller-berlin.de>2024-03-02 10:12:03 +0100
commit98d6504d1d2572e404dbaa8eaf78683c0eba485e (patch)
tree479a39d2241e305e99ca1568a9f50b1c39514f2d /docs/keybindings/Keybindings_zh-CN.md
parentafb9980ad9ea2885b8d988bbad643b58dc69e6fe (diff)
Make ctrl-f available in staging view
A common workflow for me is to create a fixup commit from only some of my current changes; to do that, I enter a file, stage a few hunks, and then want to invoke ctrl-f to find the base commit for these changes. Currently I need to esc back to the files panel in order to do that; it's more convenient to be able to do this right from the staging panel.
Diffstat (limited to 'docs/keybindings/Keybindings_zh-CN.md')
-rw-r--r--docs/keybindings/Keybindings_zh-CN.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/keybindings/Keybindings_zh-CN.md b/docs/keybindings/Keybindings_zh-CN.md
index a81925852..a8693c4c8 100644
--- a/docs/keybindings/Keybindings_zh-CN.md
+++ b/docs/keybindings/Keybindings_zh-CN.md
@@ -287,6 +287,7 @@ If you would instead like to start an interactive rebase from the selected commi
| `` c `` | 提交更改 | Commit staged changes. |
| `` w `` | 提交更改而无需预先提交钩子 | |
| `` C `` | 提交更改(使用编辑器编辑提交信息) | |
+| `` <c-f> `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: <https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md> |
| `` / `` | 开始搜索 | |
## 正常