1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-19 22:33:16 +02:00

add documentation of editCommandTemplate

This commit is contained in:
Ryooooooga 2021-08-20 22:39:08 +09:00
parent ac609bd37c
commit 5ea3dc7579
No known key found for this signature in database
GPG Key ID: 07CF200DFCC20C25

View File

@ -242,6 +242,24 @@ os:
Lazygit will log an error if none of these options are set. 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 ### Recommended Config Values
for users of VSCode for users of VSCode