I work on a MacBook Pro with OSx El Captain (version 10.11.1) and experienced the same problem after updating my Vim with Homebrew.
My version of Vim is 7.4.1063.
I had a problem with the Terminal application, as well as with the iTerm application (build 2.1.4).
To solve this problem, I followed some of the instructions from the previous answers from @devsathish and @Kailash. The following steps followed:
1 - Create a .vimrc file using touch ~/.vimrc
2 - Add the following to it:
set nocompatible set backspace=indent,eol,start
The arrow and delete / return keys now work as expected. I did not need to change my $TERM env variable, as suggested in some previous answers.
I hope this helps others with the same problem.
Deivide Oliveira Jan 15 '16 at 10:22 2016-01-15 22:22
source share