summaryrefslogtreecommitdiff
path: root/mnv/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/src/main.c')
-rw-r--r--mnv/src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mnv/src/main.c b/mnv/src/main.c
index 0cfbb9048a..49427ad522 100644
--- a/mnv/src/main.c
+++ b/mnv/src/main.c
@@ -2057,6 +2057,13 @@ parse_command_name(mparm_T *parmp)
p_uc = 10000; // don't update very often
initstr += 4;
}
+ else if (STRNICMP(initstr, "vim", 3) == 0)
+ initstr += 3;
+ else if (STRNICMP(initstr, "vi", 2) == 0)
+ {
+ change_compatible(TRUE); // Vi compatible mode
+ initstr += 2;
+ }
else if (STRNICMP(initstr, "mnv", 3) == 0)
initstr += 3;