hlecuanda / zsh-templates-osx

Automatically exported from code.google.com/p/zsh-templates-osx
GNU General Public License v2.0
0 stars 0 forks source link

arrow keys prints A B C D when inserting text into a file #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. touch ~/.vimrc
2. vim ~/.vimrc
3. press i into insert mode. press arrow keys

What is the expected output? What do you see instead?
A
B
C
D

What version of the product are you using? On what operating system?
Mac OS X 10.6.2
Vim 7.2.108
zsh-templates-2.0.4.tgz

Please provide any additional information below.
If I delete ~/.vimrc, vim works fine in zsh. Bash shell don't have this
problem. This issue caused by the .vimrc file. It could be reproduced even
touch a empty .vimrc file.

Original issue reported on code.google.com by wxi...@gmail.com on 22 Dec 2009 at 11:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Your Vim has most likely gone into Vi-compatible mode which means the cursor 
keys stop 
working in the way you expect.

Add this to your .vimrc:

set nocompatible

Original comment by doug.bro...@gmail.com on 15 Apr 2010 at 8:24