mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
fix: improve default editCommandTemplate
This commit is contained in:
@ -3,14 +3,12 @@
|
||||
|
||||
package config
|
||||
|
||||
const DefaultEditCommandTemplate = `{{editor}} {{filename}}`
|
||||
|
||||
// GetPlatformDefaultConfig gets the defaults for the platform
|
||||
func GetPlatformDefaultConfig() OSConfig {
|
||||
return OSConfig{
|
||||
EditCommand: ``,
|
||||
EditCommandTemplate: DefaultEditCommandTemplate,
|
||||
OpenCommand: "open {{filename}}",
|
||||
EditCommandTemplate: "",
|
||||
OpenCommand: "open -- {{filename}}",
|
||||
OpenLinkCommand: "open {{link}}",
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user