1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-12-03 22:59:46 +02:00

handling file edit

This commit is contained in:
Jesse Duffield
2018-08-06 23:29:00 +10:00
parent 6e585c54a2
commit 9067c3be3e
3 changed files with 59 additions and 10 deletions

3
gui.go
View File

@@ -124,6 +124,9 @@ func keybindings(g *gocui.Gui) error {
if err := g.SetKeybinding("files", 's', gocui.ModNone, handleSublimeFileOpen); err != nil {
return err
}
if err := g.SetKeybinding("files", 'e', gocui.ModNone, handleFileEdit); err != nil {
return err
}
if err := g.SetKeybinding("files", 'i', gocui.ModNone, handleIgnoreFile); err != nil {
return err
}