Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 787  / 2 Years ago, sat, august 6, 2022, 5:38:41

I had asked this question earlier but it got deleted because I happened to mention that I was using Ubuntu 9.04.



Well, I have upgraded to the second latest version,12.04 LTS, and Vi is still acting up.



This problem seems to only happen in Vi only because I have tried it with pico and
gedit all of which work as expected. In Vi, when I am in insert mode:




  • HOME KEY inserts H

  • END KEY inserts F

  • UP-ARROW KEY inserts B

  • DOWN-ARROW KEY inserts A

  • LEFT-ARROW KEY inserts C

  • RIGHT-ARROW inserts D

  • BACKSPACE moves cursor to the left without deleting.



I find this very irritating. I need to know if this is happening to anyone else. I tried this in my friends hp laptop and it misbehaves the same way so my pc(Acer) is not the culprit here. I'm sure there's an explanation for this, what is it and how can I fix it?


More From » keyboard

 Answers
2

According to this howto, Ubuntu ships with the console version of Vim. This causes the non-standard behavior you are experiencing. The full version of Vim should be available by executing:



sudo apt-get install vim


This is one of the first things I always do when I install Ubuntu.


[#29449] Sunday, August 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
untroo

Total Points: 3
Total Questions: 110
Total Answers: 95

Location: Palestine
Member since Thu, Oct 28, 2021
3 Years ago
untroo questions
;