Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
If I use arrow keys, I will get the text in the above picture.
Looks like you're using Macvim/GVim. GVim isn't a full terminal emulator, so don't expect everything to work. You can't use arrows, but you can Delete.
Required, but never shown