user1826684
user1826684

Reputation: 128

ESC doesn't work in cygwin vim

I installed cygwin on Windows 7. When I start vim in cygwin terminal it starts in interactive mode. I can't change mode to command one by pressing ESC. What could be the reason?


UPDATE: Also vim prints these varnings at start:

Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal

Upvotes: 2

Views: 2953

Answers (2)

kkt
kkt

Reputation: 81

Try to Press “ESC” and "shift" and ":" together; You should find the place that you can type command line in vim;

Upvotes: 1

Ingo Karkat
Ingo Karkat

Reputation: 172520

If by interactive mode you mean insert mode (where keypresses are inserted as text, just as in other editors), then your Vim is in easy mode.

In it, you can temporarily execute normal mode commands via Ctrl + O. But I guess you don't want this strange beginner's mode. To turn it off, check whether Vim has been invoked with the -y argument or as evim (is there a shell alias?). Or, if you find a :set insertmode command in a .vimrc, remove it. (By default, at least in my Cygwin installations, Vim is not configured for easy mode, so it must be something in your configuration.)

Upvotes: 6

Related Questions