您的位置:首页 > 其它

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

2016-08-21 08:26 183 查看

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

1. 问题描述

Vi不能正常使用方向键

2. 解决方法

Ubuntu预装的是 vim tiny 版本,而需要的是vim full版本。

执行下面的语句安装vim full版本:

$ sudo apt-get remove vim-common

$ sudo apt-get install vim

如果遇到以下问题:

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: