Skip to content

Commit

Permalink
Better english for Configuring File Editing.
Browse files Browse the repository at this point in the history
  • Loading branch information
caojoshua authored and jesseduffield committed Jun 5, 2021
1 parent e7c657f commit 3258c24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ os:
openCommand: 'open {{filename}}'
```

### EditCommand
Lazygit will run edit with the first non-empty command:
### Configuring File Editing
Lazygit will run edit with the first set option:
1. config.yaml
```yaml
os:
Expand All @@ -228,9 +228,9 @@ os:
3. $GIT_EDITOR
4. $VISUAL
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

Expand Down

0 comments on commit 3258c24

Please sign in to comment.