introduce edit command template to open a specifig line of a file

This commit is contained in:
Ryooooooga
2021-08-03 21:38:03 +09:00
parent d626bcac00
commit 4f66093335
10 changed files with 71 additions and 13 deletions

View File

@@ -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)