diff options
-rw-r--r-- | docs/Config.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/Config.md b/docs/Config.md index aa68cbb64..c1d3042df 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -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 |