Skip to content

Commit c2ba763

Browse files
committed
Update VISUAL/EDITOR order
1 parent 2518f7b commit c2ba763

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,7 @@ After installing, launch Nu by typing `nu`.
5959
Join us [on Discord](https://discord.gg/NtAbbGn) if you have any questions about Nu!
6060

6161
You can help improve this site by [giving us feedback](https://github.com/nushell/nushell.github.io/issues) or [sending a PR](https://github.com/nushell/nushell.github.io/pulls).
62+
63+
64+
65+

book/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ These are some important variables to look at for Nushell-specific settings:
101101
The ([`config nu`](/commands/docs/config_nu.md) and [`config env`](/commands/docs/config_env.md)) commands open their respective configurations for quick editing in your preferred text editor or IDE. Nu determines your editor from the following environment variables in order:
102102

103103
1. `$env.config.buffer_editor`
104-
2. `$env.EDITOR`
105104
3. `$env.VISUAL`
105+
2. `$env.EDITOR`
106106

107107
### Color Config Section
108108

zh-CN/book/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ _(尽管 `$env.config` 是一个环境变量,按照惯例它仍然在 `config.
5858
Nushell 遵循如下的规则来匹配编辑器:
5959

6060
1. `$config.buffer_editor`
61-
2. `$env.EDITOR`
6261
3. `$env.VISUAL`
62+
2. `$env.EDITOR`
6363
4. 如果上面都未匹配成功,则针对 Windows 运行`notepad`, 其他系统`nano`
6464

6565
### 颜色配置部分

0 commit comments

Comments
 (0)