diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-01-08 22:39:54 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-01-08 22:39:54 +0300 |
| commit | e24647701854e6264b7fbe92ea58e6626f3dcdbd (patch) | |
| tree | 682ac10d186f5bf0c5d391b27620623dcc2072bc /gui/keybindings.go | |
| parent | Merge pull request #54 from isacikgoz/develop (diff) | |
| download | gitbatch-master.tar.gz | |
Diffstat (limited to 'gui/keybindings.go')
| -rw-r--r-- | gui/keybindings.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/keybindings.go b/gui/keybindings.go index 668fe90..19cb114 100644 --- a/gui/keybindings.go +++ b/gui/keybindings.go @@ -477,6 +477,15 @@ func (gui *Gui) generateKeybindings() error { Description: "Show commit diff", Vital: true, }, + { + View: commitViewFeature.Name, + Key: 'c', + Modifier: gocui.ModNone, + Handler: gui.copyCommitHash, + Display: "c", + Description: "Copy commit hash", + Vital: true, + }, // upstream confirmation { View: confirmationViewFeature.Name, |
