mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
add close menu keybindings in docs
This commit is contained in:
committed by
Jesse Duffield
parent
ac0c3b9f92
commit
41c76fb748
@@ -198,6 +198,8 @@
|
|||||||
## Menu Panel
|
## Menu Panel
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
<kbd>esc</kbd>: close menu
|
||||||
|
<kbd>q</kbd>: close menu
|
||||||
<kbd>/</kbd>: start search
|
<kbd>/</kbd>: start search
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@@ -198,6 +198,8 @@
|
|||||||
## Menu Panel
|
## Menu Panel
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
<kbd>esc</kbd>: close menu
|
||||||
|
<kbd>q</kbd>: close menu
|
||||||
<kbd>/</kbd>: start search
|
<kbd>/</kbd>: start search
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@@ -198,6 +198,8 @@
|
|||||||
## Menu Panel
|
## Menu Panel
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
<kbd>esc</kbd>: close menu
|
||||||
|
<kbd>q</kbd>: close menu
|
||||||
<kbd>/</kbd>: start search
|
<kbd>/</kbd>: start search
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@@ -901,16 +901,18 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
|||||||
Handler: gui.handleCloseCredentialsView,
|
Handler: gui.handleCloseCredentialsView,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
ViewName: "menu",
|
ViewName: "menu",
|
||||||
Key: gui.getKey("universal.return"),
|
Key: gui.getKey("universal.return"),
|
||||||
Modifier: gocui.ModNone,
|
Modifier: gocui.ModNone,
|
||||||
Handler: gui.handleMenuClose,
|
Handler: gui.handleMenuClose,
|
||||||
|
Description: gui.Tr.SLocalize("closeMenu"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
ViewName: "menu",
|
ViewName: "menu",
|
||||||
Key: gui.getKey("universal.quit"),
|
Key: gui.getKey("universal.quit"),
|
||||||
Modifier: gocui.ModNone,
|
Modifier: gocui.ModNone,
|
||||||
Handler: gui.handleMenuClose,
|
Handler: gui.handleMenuClose,
|
||||||
|
Description: gui.Tr.SLocalize("closeMenu"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
ViewName: "information",
|
ViewName: "information",
|
||||||
|
@@ -1026,6 +1026,9 @@ func addEnglish(i18nObject *i18n.Bundle) error {
|
|||||||
}, &i18n.Message{
|
}, &i18n.Message{
|
||||||
ID: "RenameBranchWarning",
|
ID: "RenameBranchWarning",
|
||||||
Other: "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?",
|
Other: "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?",
|
||||||
|
}, &i18n.Message{
|
||||||
|
ID: "closeMenu",
|
||||||
|
Other: "close menu",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user