summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/files_controller.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-03-27 17:19:31 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-27 18:16:16 +1100
commit3e5d4b2c749322351c781c4427852ff4393fcd4f (patch)
tree87958b5eece97e30cc32620a0a52d038aafc6216 /pkg/gui/controllers/files_controller.go
parente94312b664c3e8daa0a27d6c48fda2d137fe98ac (diff)
add menu keybindings for various things
Diffstat (limited to 'pkg/gui/controllers/files_controller.go')
-rw-r--r--pkg/gui/controllers/files_controller.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/controllers/files_controller.go b/pkg/gui/controllers/files_controller.go
index 2c2590699..88e91771f 100644
--- a/pkg/gui/controllers/files_controller.go
+++ b/pkg/gui/controllers/files_controller.go
@@ -562,6 +562,7 @@ func (self *FilesController) createStashMenu() error {
self.c.LogAction(self.c.Tr.Actions.StashAllChanges)
return self.handleStashSave(self.git.Stash.Save)
},
+ Key: 's',
},
{
DisplayString: self.c.Tr.LcStashStagedChanges,
@@ -569,6 +570,7 @@ func (self *FilesController) createStashMenu() error {
self.c.LogAction(self.c.Tr.Actions.StashStagedChanges)
return self.handleStashSave(self.git.Stash.SaveStagedChanges)
},
+ Key: 'S',
},
},
})