Note of Vim

来源:互联网 发布:海淀区人民检察院数据 编辑:程序博客网 时间:2024/05/29 19:15

vi

When I was using Debian and I just opened a vim using the command

vi

However, I can’t even remove words that I typed. Then I found that in order to support some old features, the default vim on Debian has automatically set to compatible mode. Hence, that why I couldn’t remove characters by using backspace.

Well, it’s pretty easy to resolve this problem. Just type

:set nocp:set backspace=indent, eol, start

to turn off the compatible mode as well as set backspace’s role.

0 0
原创粉丝点击