introduce edit command template to open a specifig line of a file
This commit is contained in:
@@ -64,7 +64,8 @@ git:
|
||||
disableForcePushing: false
|
||||
parseEmoji: false
|
||||
os:
|
||||
editCommand: '' # see 'Configuring File Editing' section
|
||||
editor: '' # see 'Configuring File Editing' section
|
||||
editCommand: '{{editor}} {{filename}}'
|
||||
openCommand: ''
|
||||
refresher:
|
||||
refreshInterval: 10 # file/submodule refresh interval in seconds
|
||||
@@ -230,7 +231,7 @@ Lazygit will edit a file with the first set editor in the following:
|
||||
|
||||
```yaml
|
||||
os:
|
||||
editCommand: 'vim' # as an example
|
||||
editor: 'vim' # as an example
|
||||
```
|
||||
|
||||
2. \$(git config core.editor)
|
||||
|
||||
Reference in New Issue
Block a user