mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
✨ facilitate toggling whitespace in the diff view with a hotkey (c-w by default)
This commit is contained in:
committed by
Jesse Duffield
parent
83834a2c2e
commit
a9f04d3925
@ -1719,6 +1719,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
||||
Description: gui.Tr.LcViewBulkSubmoduleOptions,
|
||||
OpensMenu: true,
|
||||
},
|
||||
{
|
||||
ViewName: "files",
|
||||
Contexts: []string{string(FILES_CONTEXT_KEY)},
|
||||
Key: gui.getKey(config.Universal.ToggleWhitespaceInDiffView),
|
||||
Handler: gui.toggleWhitespaceInDiffView,
|
||||
Description: gui.Tr.ToggleWhitespaceInDiffView,
|
||||
},
|
||||
{
|
||||
ViewName: "extras",
|
||||
Key: gocui.MouseWheelUp,
|
||||
|
Reference in New Issue
Block a user