summaryrefslogtreecommitdiff
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorIbrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>2018-12-05 01:47:24 +0300
committerIbrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>2018-12-05 01:47:24 +0300
commit9ccbe66ac26b90e636aa97623a48aca4c27d7fb3 (patch)
tree46a28bb6910648b9d8696e481e17868a3dda0cb7 /pkg/gui/keybindings.go
parentadded sorting (diff)
downloadgitbatch-9ccbe66ac26b90e636aa97623a48aca4c27d7fb3.tar.gz
select all feature added
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 3a96221..5905f2f 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -151,6 +151,22 @@ func (gui *Gui) generateKeybindings() error {
Vital: true,
}, {
View: mainViewFeature.Name,
+ Key: gocui.KeyCtrlSpace,
+ Modifier: gocui.ModNone,
+ Handler: gui.markAllRepositories,
+ Display: "ctrl + space",
+ Description: "Add all to queue",
+ Vital: false,
+ }, {
+ View: mainViewFeature.Name,
+ Key: gocui.KeyBackspace2,
+ Modifier: gocui.ModNone,
+ Handler: gui.unmarkAllRepositories,
+ Display: "backspace",
+ Description: "Remove all from queue",
+ Vital: false,
+ }, {
+ View: mainViewFeature.Name,
Key: 'n',
Modifier: gocui.ModNone,
Handler: gui.sortByName,