mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-06 03:53:59 +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":
|
case "subl":
|
||||||
editCmdTemplate = "{{editor}} {{filename}}:{{line}}"
|
editCmdTemplate = "{{editor}} {{filename}}:{{line}}"
|
||||||
case "code":
|
case "code":
|
||||||
editCmdTemplate = "{{editor}} --goto {{filename}}:{{line}}"
|
editCmdTemplate = "{{editor}} -r --goto {{filename}}:{{line}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return utils.ResolvePlaceholderString(editCmdTemplate, templateValues), nil
|
return utils.ResolvePlaceholderString(editCmdTemplate, templateValues), nil
|
||||||
|
Loading…
Reference in New Issue
Block a user