mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-04 03:48:07 +02:00
open code in existing window
This commit is contained in:
parent
11acac0091
commit
f53b10072d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user