1
为Debian安装vi完整版
source link: https://www.howru.cc/articles/586.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为Debian安装vi完整版
2022年1月3日
190点热度
0人点赞
0条评论
Debian的tiny版vi在默认的compatible模式,使用方向键并不是移动光标,退格键也不是删除光标前的字符。替换为完整版即可解决问题。
以前我都是去 /etc/vim/vimrc.tiny 把编辑模式修改为nocompatible以及加上 set backspace=2 去解决问题。今天发现也可以把tiny版vi替换为完整版解决按键问题。
apt-get remove vim-common
apt-get install vim
apt-get remove vim-common apt-get install vim
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK