I recently installed Ubuntu10.10. When I use the vi command, the file cannot be edited normally. When I use the direction keys, many letters are found online. The problem has been solved: you only need to execute the following two commands in sequence to solve the problem of changing the direction keys of the vi editor to letters under Ubuntu. 1. Run sudoapt-getremovevim-common. 2. Run sudoapt-getinstall.
Ubuntu 10.10 has been installed recently. When you use the vi command, the file cannot be edited normally. Many letters always appear when you use the arrow keys.
I found a solution on the Internet to solve the problem:
You only need to execute the following two commands in sequence to solve the problem of changing the direction keys of the vi editor to letters under Ubuntu.
1. Run the sudo apt-get remove vim-common command.
2. Run the sudo apt-get install vim command.
Try the Vi editor again to see if it is back to normal.