From f53b10072deeb2923d6b932287c4b39bb7bd389e Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 16 Mar 2022 19:47:03 +1100 Subject: open code in existing window --- pkg/commands/git_commands/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/commands/git_commands/file.go b/pkg/commands/git_commands/file.go index 8744197f0..1837ee4a4 100644 --- a/pkg/commands/git_commands/file.go +++ b/pkg/commands/git_commands/file.go @@ -66,7 +66,7 @@ func (self *FileCommands) GetEditCmdStr(filename string, lineNumber int) (string case "subl": editCmdTemplate = "{{editor}} {{filename}}:{{line}}" case "code": - editCmdTemplate = "{{editor}} --goto {{filename}}:{{line}}" + editCmdTemplate = "{{editor}} -r --goto {{filename}}:{{line}}" } } return utils.ResolvePlaceholderString(editCmdTemplate, templateValues), nil -- cgit v1.2.3