summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-02-16 12:07:27 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-02-16 12:07:27 +1100
commit198cbee498e9201b1f12514f909eb3da98db5ec7 (patch)
treea315ad46dd3b170ce3e9c3a826853affe97d5d93 /scripts
parentdaca07eacac8bc5cb7bcf65a762ed5093f2b8a82 (diff)
introduce panel contexts and more work on rebasing
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate_cheatsheet.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/generate_cheatsheet.go b/scripts/generate_cheatsheet.go
index f427c29fa..d42088d6b 100644
--- a/scripts/generate_cheatsheet.go
+++ b/scripts/generate_cheatsheet.go
@@ -10,11 +10,12 @@ package main
import (
"fmt"
- "github.com/jesseduffield/lazygit/pkg/app"
- "github.com/jesseduffield/lazygit/pkg/config"
"log"
"os"
"strings"
+
+ "github.com/jesseduffield/lazygit/pkg/app"
+ "github.com/jesseduffield/lazygit/pkg/config"
)
func writeString(file *os.File, str string) {
@@ -43,6 +44,7 @@ func main() {
writeString(file, "<pre>\n")
+ // TODO: add context-based keybindings
for _, binding := range mApp.Gui.GetKeybindings() {
if binding.Description == "" {
continue