1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-13 20:04:25 +02:00

Better english for Configuring File Editing.

This commit is contained in:
caojoshua
2021-06-01 09:33:16 -07:00
committed by Jesse Duffield
parent e7c657fba0
commit 3258c24fb3

View File

@@ -217,8 +217,8 @@ os:
openCommand: 'open {{filename}}' openCommand: 'open {{filename}}'
``` ```
### EditCommand ### Configuring File Editing
Lazygit will run edit with the first non-empty command: Lazygit will run edit with the first set option:
1. config.yaml 1. config.yaml
```yaml ```yaml
os: os:
@@ -228,9 +228,9 @@ os:
3. $GIT_EDITOR 3. $GIT_EDITOR
4. $VISUAL 4. $VISUAL
5. $EDITOR 5. $EDITOR
6. vi (if found through `which vi`) 6. $(which vi)
Lazygit will log an error if none of these commands are non-empty. Lazygit will log an error if none of these options are set.
### Recommended Config Values ### Recommended Config Values