mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-09 13:47:11 +02:00
Merge pull request #554 from jesseduffield/alias-V-v-keybinding
keybindings: alias V -> v
This commit is contained in:
commit
710abded64
@ -904,6 +904,15 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
|||||||
Handler: gui.handleToggleSelectRange,
|
Handler: gui.handleToggleSelectRange,
|
||||||
Description: gui.Tr.SLocalize("ToggleDragSelect"),
|
Description: gui.Tr.SLocalize("ToggleDragSelect"),
|
||||||
},
|
},
|
||||||
|
// Alias 'V' -> 'v'
|
||||||
|
{
|
||||||
|
ViewName: "main",
|
||||||
|
Contexts: []string{"patch-building", "staging"},
|
||||||
|
Key: 'V',
|
||||||
|
Modifier: gocui.ModNone,
|
||||||
|
Handler: gui.handleToggleSelectRange,
|
||||||
|
Description: gui.Tr.SLocalize("ToggleDragSelect"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
ViewName: "main",
|
ViewName: "main",
|
||||||
Contexts: []string{"patch-building", "staging"},
|
Contexts: []string{"patch-building", "staging"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user