backspace and arrow keys not working on insert mode of vi editor

Asked by Tushara Devi

I recently installed ubuntu desktop 12.04LTS alongside windows 8 pro on my pc. I tried using vi editor on ubuntu for c programming and editing simple texts. But i found that when i enter into the insert mode by pressing the "i" button, if i press the navigation keys letters like D A B C will be typed automatically for different navigation directions and cursor moves backward if i press backspace key and i am not able to erase previously typed text properly.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu vim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeet (gour-jitendrasingh) said :
#1

you should use nano editor .. and if you have GUI access use

sudo gedit <file_name>

otherwise

sudo nano <file_name>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

gksudo for GUI applications. Sudo is only for terminal based commands.

Do the keys work ok in vim?

Are there bugs reported?

Can you help with this problem?

Provide an answer of your own, or ask Tushara Devi for more information if necessary.

To post a message you must log in.