diff options
author | stk <stk@ableton.com> | 2023-02-07 09:15:09 +0100 |
---|---|---|
committer | stk <stk@ableton.com> | 2023-02-07 09:25:38 +0100 |
commit | d838965a41975938f3812d4a5dad374ccbcce471 (patch) | |
tree | df394125e6c5509232c2db59c246f9d6bc4a6902 /pkg | |
parent | 469938ee9b91601313ec493409400fc17155b12d (diff) |
Make "Toggle whitespace in diff view" a global key binding
Since it is going to affect a number of views later in the branch, it's easier
to make it global than to find all views that are affected.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/keybindings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 383b52b32..ce935b661 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -356,7 +356,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi Description: self.c.Tr.LcCopySubmoduleNameToClipboard, }, { - ViewName: "files", + ViewName: "", Key: opts.GetKey(opts.Config.Universal.ToggleWhitespaceInDiffView), Handler: self.toggleWhitespaceInDiffView, Description: self.c.Tr.ToggleWhitespaceInDiffView, |