1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-09 01:17:06 +02:00

add documentation of editCommandTemplate

This commit is contained in:
Ryooooooga
2021-08-20 22:39:08 +09:00
parent ac609bd37c
commit 5ea3dc7579

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