mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-06 23:46:13 +02:00
update keybindings
This commit is contained in:
parent
ca04655a09
commit
31a8be5f32
@ -13,7 +13,9 @@
|
|||||||
space: toggle staged
|
space: toggle staged
|
||||||
c: commit changes
|
c: commit changes
|
||||||
shift+S: stash files
|
shift+S: stash files
|
||||||
o: open (osx only)
|
t: add patched (i.e. pick chunks of a file to add)
|
||||||
|
o: open
|
||||||
|
e: edit
|
||||||
s: open in sublime (requires 'subl' command)
|
s: open in sublime (requires 'subl' command)
|
||||||
v: open in vscode (requires 'code' command)
|
v: open in vscode (requires 'code' command)
|
||||||
i: add to .gitignore
|
i: add to .gitignore
|
||||||
|
@ -130,12 +130,12 @@ func renderfilesOptions(g *gocui.Gui, gitFile *GitFile) error {
|
|||||||
"S": "stash files",
|
"S": "stash files",
|
||||||
"c": "commit changes",
|
"c": "commit changes",
|
||||||
"o": "open",
|
"o": "open",
|
||||||
"s": "sublime",
|
|
||||||
"v": "vscode",
|
|
||||||
"i": "ignore",
|
"i": "ignore",
|
||||||
"d": "delete",
|
"d": "delete",
|
||||||
"space": "toggle staged",
|
"space": "toggle staged",
|
||||||
"R": "refresh",
|
"R": "refresh",
|
||||||
|
"t": "add patch",
|
||||||
|
"e": "edit",
|
||||||
}
|
}
|
||||||
if state.HasMergeConflicts {
|
if state.HasMergeConflicts {
|
||||||
optionsMap["a"] = "abort merge"
|
optionsMap["a"] = "abort merge"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user