aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-04-08 06:13:33 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-04-08 06:15:24 +0530
commit48cf378c7ba50f2c44b0fe58ceea7b46e80123fd (patch)
treefceb6624baeab514d97759433db3c8462d05e5c6 /nnn.h
parent01e53e1b26b774d28a4f39cd6cf29183a7dc89f2 (diff)
downloadnnn-48cf378c7ba50f2c44b0fe58ceea7b46e80123fd.tar.gz
Prefer VISUAL, if defined over EDITOR
Diffstat (limited to 'nnn.h')
-rw-r--r--nnn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nnn.h b/nnn.h
index 680200f..fa92523 100644
--- a/nnn.h
+++ b/nnn.h
@@ -174,7 +174,7 @@ static struct key bindings[] = {
/* Run a custom script */
{ 'R', SEL_RUNSCRIPT, "sh", "SHELL" },
/* Run command with argument */
- { 'e', SEL_RUNARG, "vi", "EDITOR" },
+ { 'e', SEL_RUNARG, "", "VISUAL" },
{ 'p', SEL_RUNARG, "less", "PAGER" },
#ifdef __linux__
/* Lock screen */