侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

Ubuntu vi使用方向键出现乱码怎么解决?

2023-12-19 星期二 / 0 评论 / 0 点赞 / 141 阅读 / 1201 字

解决步骤:   (一)Problem description:   vi不能正常使用方向键   (二)Solution:   问题分析:ubuntu预装的是vim tiny版本,而需要的是vim fu

解决步骤:

  (一)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

  上面就是Ubuntu vi使用方向键出错的解决方法的介绍了,主要的原因是Ubuntu预装的vim版本不对,需要安装的是vim full版本。

广告 广告

评论区