mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
fix: fix context of edit hunk
This commit is contained in:
parent
d458e78d95
commit
b07e0ea032
|
|
@ -173,7 +173,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
|||
<kbd>v</kbd>: toggle drag select
|
||||
<kbd>V</kbd>: toggle drag select
|
||||
<kbd>a</kbd>: toggle select hunk
|
||||
<kbd>E</kbd>: edit hunk
|
||||
</pre>
|
||||
|
||||
## Main Panel (Staging)
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
|||
<kbd>f</kbd>: fast-forward this branch from its upstream
|
||||
<kbd>g</kbd>: view reset options
|
||||
<kbd>R</kbd>: ブランチ名を変更
|
||||
<kbd>u</kbd>: set/unset upstream
|
||||
<kbd>enter</kbd>: コミットを閲覧
|
||||
<kbd>f</kbd>: リモートをfetch
|
||||
<kbd>n</kbd>: リモートを新規追加
|
||||
|
|
@ -254,6 +255,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
|||
<kbd>v</kbd>: 範囲選択を切り替え
|
||||
<kbd>V</kbd>: 範囲選択を切り替え
|
||||
<kbd>a</kbd>: hunk選択を切り替え
|
||||
<kbd>E</kbd>: edit hunk
|
||||
</pre>
|
||||
|
||||
## リモートブランチ
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
|||
<kbd>v</kbd>: toggle drag selecteer
|
||||
<kbd>V</kbd>: toggle drag selecteer
|
||||
<kbd>a</kbd>: toggle selecteer hunk
|
||||
<kbd>E</kbd>: edit hunk
|
||||
</pre>
|
||||
|
||||
## Reflog
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
|||
<kbd>v</kbd>: toggle drag select
|
||||
<kbd>V</kbd>: toggle drag select
|
||||
<kbd>a</kbd>: toggle select hunk
|
||||
<kbd>E</kbd>: edit hunk
|
||||
</pre>
|
||||
|
||||
## Pliki
|
||||
|
|
|
|||
|
|
@ -193,7 +193,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
|||
<kbd>v</kbd>: 切换拖动选择
|
||||
<kbd>V</kbd>: 切换拖动选择
|
||||
<kbd>a</kbd>: 切换选择区块
|
||||
<kbd>E</kbd>: edit hunk
|
||||
</pre>
|
||||
|
||||
## 标签页面
|
||||
|
|
|
|||
|
|
@ -545,7 +545,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
|
|||
},
|
||||
{
|
||||
ViewName: "main",
|
||||
Contexts: []string{string(context.MAIN_PATCH_BUILDING_CONTEXT_KEY), string(context.MAIN_STAGING_CONTEXT_KEY)},
|
||||
Contexts: []string{string(context.MAIN_STAGING_CONTEXT_KEY)},
|
||||
Key: opts.GetKey(opts.Config.Main.EditSelectHunk),
|
||||
Handler: self.handleEditHunk,
|
||||
Description: self.c.Tr.EditHunk,
|
||||
|
|
|
|||
Loading…
Reference in a new issue