mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
add documentation of editCommandTemplate
This commit is contained in:
parent
ac609bd37c
commit
5ea3dc7579
|
|
@ -242,6 +242,24 @@ os:
|
|||
|
||||
Lazygit will log an error if none of these options are set.
|
||||
|
||||
You can give the number of lines you are currently pointing to in the line-by-line panel.
|
||||
|
||||
```yaml
|
||||
os:
|
||||
editCommand: 'vim'
|
||||
editCommandTemplate: '{{editor}} +{{line}} {{filename}}'
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```yaml
|
||||
os:
|
||||
editCommand: 'code'
|
||||
editCommandTemplate: '{{editor}} --goto {{filename}}:{{line}}'
|
||||
```
|
||||
|
||||
`{{editor}}` in `editCommandTemplate` is replaced with `editCommand`.
|
||||
|
||||
### Recommended Config Values
|
||||
|
||||
for users of VSCode
|
||||
|
|
|
|||
Loading…
Reference in a new issue