Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When I enter mode in vim, all control keys (like arrow keys, delete keys etc.) produce characters instead of expected control behaviour. How can I change this? Thanks :)
Try installing vim, instead. This is the default behavior of vi. If you have vim installed, the best way to get vim behavior is to touch .vimrc in your home directory.
This may happen if
vim doesn't recognize or know your terminal type. in the shell you invoked vi from, type
7 years, 10 months ago
5 years, 10 months ago