nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7f3d2c10aaabee34cfda435c199335f023215fba
parent c5cd668a522f607db139a80851e3fa465594a894
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri, 20 Dec 2019 00:01:50 +0530

Prefer NNN_USE_EDITOR over opener (option )

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -5814,8 +5814,8 @@ int main(int argc, char *argv[]) } } - /* Edit text in EDITOR if opted (and opener is not all-CLI) */ - if (!cfg.cliopener && xgetenv_set(env_cfg[NNN_USE_EDITOR])) + /* Edit text in "editor" if opted (gets preference over option `-c`) */ + if (xgetenv_set(env_cfg[NNN_USE_EDITOR])) cfg.useeditor = 1; /* Get VISUAL/EDITOR */