From 4f66093335e5a0d370cf43b3fc637c0795376334 Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Tue, 3 Aug 2021 21:38:03 +0900 Subject: introduce edit command template to open a specifig line of a file --- pkg/gui/keybindings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/gui/keybindings.go') diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index f9537e755..4b20bab95 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1301,7 +1301,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { ViewName: "main", Contexts: []string{string(MAIN_STAGING_CONTEXT_KEY)}, Key: gui.getKey(config.Universal.Edit), - Handler: gui.handleFileEdit, + Handler: gui.handleLineByLineEdit, Description: gui.Tr.LcEditFile, }, { -- cgit v1.2.3