summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2021-08-03 21:38:03 +0900
committerRyooooooga <eial5q265e5@gmail.com>2021-08-03 21:42:14 +0900
commit4f66093335e5a0d370cf43b3fc637c0795376334 (patch)
tree0f71e0ee748ff19133f5545492a4ddeb7f5f35b7 /docs
parentd626bcac0029267d3f45223198902f5cb78d9dc1 (diff)
introduce edit command template to open a specifig line of a file
Diffstat (limited to 'docs')
-rw-r--r--docs/Config.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/Config.md b/docs/Config.md
index c2565ae93..355e23d02 100644
--- a/docs/Config.md
+++ b/docs/Config.md
@@ -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)