summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-03-26 16:00:40 +1100
committerJesse Duffield <jessedduffield@gmail.com>2023-04-30 13:19:53 +1000
commit0faa41e6f8e13818c611ad923fa424c83653d06a (patch)
treedcbe6098484cc253fa026f02b18ec89ce68e8335 /pkg/gui/keybindings.go
parent2e32e55957d72153a7219d3898e6c95e7880699b (diff)
move toggle whitespace action to controllers package
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 11917045f..fa536b65d 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -259,12 +259,6 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
Description: self.c.Tr.LcCopySubmoduleNameToClipboard,
},
{
- ViewName: "",
- Key: opts.GetKey(opts.Config.Universal.ToggleWhitespaceInDiffView),
- Handler: self.toggleWhitespaceInDiffView,
- Description: self.c.Tr.ToggleWhitespaceInDiffView,
- },
- {
ViewName: "extras",
Key: gocui.MouseWheelUp,
Handler: self.scrollUpExtra,