Use $VISUAL for the e command instead of $EDITOR (#1197)
* Use $VISUAL for the `e` command instead of $EDITOR * update `os_windows.go` and `doc.go`
This commit is contained in:
1 parent
1e1486fc02
commit
28b550a7ec
5 files changed
+18
-8
No files matched your search
+4
-2
@@ -183,6 +183,7 @@ The following environment variables are exported for shell commands:
|
||||
OLDPWD
|
||||
LF_LEVEL
|
||||
OPENER
|
||||
VISUAL
|
||||
EDITOR
|
||||
PAGER
|
||||
SHELL
|
||||
@@ -1005,8 +1006,9 @@ this is set to 'start' in Windows, 'open' in MacOS, 'xdg-open' in others.
|
||||
|
||||
EDITOR
|
||||
|
||||
If this variable is set in the environment, use the same value. Otherwise,
|
||||
this is set to 'vi' on Unix, 'notepad' in Windows.
|
||||
If VISUAL is set in the environment, use its value. Otherwise, use the value of
|
||||
the environment variable EDITOR. If neither variable is set, this is set to 'vi'
|
||||
on Unix, 'notepad' in Windows.
|
||||
|
||||
PAGER
|
||||
|
||||
|
||||
Reference in new issue
Block a user