diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-16 19:47:03 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-16 19:55:58 +1100 |
commit | f53b10072deeb2923d6b932287c4b39bb7bd389e (patch) | |
tree | 3ee1aca2fc7f8eff7632d407f5cf04fd89fb1fe4 /pkg/commands/git_commands | |
parent | 11acac00913cccbcde5f6c6112453adf0dec04ed (diff) |
open code in existing window
Diffstat (limited to 'pkg/commands/git_commands')
-rw-r--r-- | pkg/commands/git_commands/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |