mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-09 13:47:11 +02:00
added a seperate keybinding option for checking out commits
This commit is contained in:
parent
3e875cc593
commit
205d731d7b
@ -112,6 +112,7 @@ Default path for the config file: `~/.config/jesseduffield/lazygit/config.yml`
|
|||||||
pasteCommits: 'v'
|
pasteCommits: 'v'
|
||||||
tagCommit: 'T'
|
tagCommit: 'T'
|
||||||
toggleDiffCommit: 'h'
|
toggleDiffCommit: 'h'
|
||||||
|
checkoutCommit: '<space>'
|
||||||
stash:
|
stash:
|
||||||
popStash: 'g'
|
popStash: 'g'
|
||||||
commitFiles:
|
commitFiles:
|
||||||
|
@ -345,6 +345,7 @@ keybinding:
|
|||||||
pasteCommits: 'v'
|
pasteCommits: 'v'
|
||||||
tagCommit: 'T'
|
tagCommit: 'T'
|
||||||
toggleDiffCommit: 'h'
|
toggleDiffCommit: 'h'
|
||||||
|
checkoutCommit: '<space>'
|
||||||
stash:
|
stash:
|
||||||
popStash: 'g'
|
popStash: 'g'
|
||||||
commitFiles:
|
commitFiles:
|
||||||
|
@ -716,7 +716,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
ViewName: "commits",
|
ViewName: "commits",
|
||||||
Key: gui.getKey("universal.select"),
|
Key: gui.getKey("commits.checkoutCommit"),
|
||||||
Modifier: gocui.ModNone,
|
Modifier: gocui.ModNone,
|
||||||
Handler: gui.handleCheckoutCommit,
|
Handler: gui.handleCheckoutCommit,
|
||||||
Description: gui.Tr.SLocalize("checkoutCommit"),
|
Description: gui.Tr.SLocalize("checkoutCommit"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user