diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-26 15:38:18 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | 037cd9913881d5d39c5a9ed1ceb1c8368c5ccd0c (patch) | |
tree | b98095936add9e887c1ab67d8fa47d459375a2a7 /pkg/gui/keybindings.go | |
parent | 6388885699c7ea105db731d21efe16222bc0b675 (diff) |
move quit actions to controller
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 040d634b8..11917045f 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -80,30 +80,6 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi bindings := []*types.Binding{ { - ViewName: "", - Key: opts.GetKey(opts.Config.Universal.Quit), - Modifier: gocui.ModNone, - Handler: self.handleQuit, - }, - { - ViewName: "", - Key: opts.GetKey(opts.Config.Universal.QuitWithoutChangingDirectory), - Modifier: gocui.ModNone, - Handler: self.handleQuitWithoutChangingDirectory, - }, - { - ViewName: "", - Key: opts.GetKey(opts.Config.Universal.QuitAlt1), - Modifier: gocui.ModNone, - Handler: self.handleQuit, - }, - { - ViewName: "", - Key: opts.GetKey(opts.Config.Universal.Return), - Modifier: gocui.ModNone, - Handler: self.handleTopLevelReturn, - }, - { ViewName: "", Key: opts.GetKey(opts.Config.Universal.OpenRecentRepos), Handler: self.helpers.Repos.CreateRecentReposMenu, |