mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-30 19:16:38 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed6f21ee74 | ||
|
|
75a186614a | ||
|
|
18aa5b1bbe |
+11
-10
@@ -129,16 +129,17 @@ func handleIgnoreFile(g *gocui.Gui, v *gocui.View) error {
|
||||
|
||||
func renderfilesOptions(g *gocui.Gui, gitFile *GitFile) error {
|
||||
optionsMap := map[string]string{
|
||||
"← → ↑ ↓": "navigate",
|
||||
"S": "stash files",
|
||||
"c": "commit changes",
|
||||
"o": "open",
|
||||
"i": "ignore",
|
||||
"d": "delete",
|
||||
"space": "toggle staged",
|
||||
"R": "refresh",
|
||||
"t": "add patch",
|
||||
"e": "edit",
|
||||
"← → ↑ ↓": "navigate",
|
||||
"S": "stash files",
|
||||
"c": "commit changes",
|
||||
"o": "open",
|
||||
"i": "ignore",
|
||||
"d": "delete",
|
||||
"space": "toggle staged",
|
||||
"R": "refresh",
|
||||
"t": "add patch",
|
||||
"e": "edit",
|
||||
"PgUp/PgDn": "scroll",
|
||||
}
|
||||
if state.HasMergeConflicts {
|
||||
optionsMap["a"] = "abort merge"
|
||||
|
||||
Reference in New Issue
Block a user