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

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

推荐阅读:

Vim学习指南

快速学会 Vi编辑器

强大的Vim 编辑器

在CentOS 6.2上搭建Vim开发环境

Vim 7.4a 发布,全新更快的正则表达式引擎

CentOS 5.4 安装高亮Vim编辑工具

Vim技巧分享:C语言设置

,用爱生活,你会使自己幸福!用爱工作,你会使很多人幸福!

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

相关文章:

你感兴趣的文章:

标签云: