We can start elvis in input mode using -i option. Also we can start input mode with various commands that specified in help :help.

But users call insert mode too which can also determined from h command :h. Is there any difference between insert mode and input mode in elvis?

Also consider that -i option is for startup command line: elvis -i which is specified in help: elvis --help

elvis version: 2.2.0


1 Answer 1


Edit: from comments below, the answer was originally posted for the elvis version of vi.

I think the insert and input modes are the same thing.

From the documentation you can see all the vim modes :

:h vim-modes

Vim has six BASIC modes:
Normal mode
Visual mode
Select mode
Insert mode
Command-line mode
Ex mode

There are six ADDITIONAL modes.  These are variants of the BASIC modes:
Operator-pending mode
Replace mode
Virtual Replace mode
Insert Normal mode
Insert Visual mode
Insert Select mode

There is no input mode here, it should be a second name for the insert mode

Also the -i flags doesn't seems to do what you say. The documentation says that the -i flag start vim another viminfo file. (see :h -i)

The flag you might want to see is the -y : it start vim in "easy" mode. (see :h -y)

  • I mean the -i option. I've got it from vi --help; vi version: 2.2.0 Commented Aug 27, 2015 at 11:04
  • Also you can see the input mode in various places like :help and vi --help. Commented Aug 27, 2015 at 11:10
  • I might be mistaken here, but according to Wikipedia vi version 2.7 is from 1979. Does this mean you actually use software older than 35 years?
    – cbaumhardt
    Commented Aug 27, 2015 at 11:31
  • @cbaumhardt, You are right :-D. Of course I use elvis 2.2.0 I should search more about it. You are right. I found that my vi is a symbolic link to elvis maybe they are different in this situation. I should read more. Commented Aug 27, 2015 at 11:44
  • 4
    This proves, beyond any doubt, ... that Elvis is not dead.
    – VanLaser
    Commented Aug 27, 2015 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.