红联Linux门户
Linux帮助

Ubuntu中Vi不能正常使用方向键问题

发布时间:2014-06-07 11:02:41来源:红联作者:velcbo
Ubuntu中Vi不能正常使用方向键问题

(一)Problem description:

vi不能正常使用方向键

(二)Solution:

问题分析:ubuntu预装的是vim tiny版本,而需要的是vim full版本。执行下面的语句安装vim full版本:

$sudo apt-get remove vim-common

$sudo apt-get install vim

ps:这里可能遇到以下问题:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package vim is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

E: Package vim has no installation candidate

解决办法:

sudo apt-get update && sudo apt-get install vim

作者:zhouhong
文章评论

共有 0 条评论