20分钟内通关vimtutor Linux0306
作者:互联网
三个模式: 文本 命令 可视化模式
i Esc V
退出VIM:
放弃所有更改退出: <ESC> :q! 或 ZQ
保存更改退出: <ESC> :wq 或 ZZ
插入字符:
在光标之前插入字符: i
在行尾添加字符: A
撤销: u
取消撤销 : ctrl+r
看不可见字符 set list
加行号 set number
set ff=dos 存为windows格式 (dos2unix , tr -d "\r"<dosfile > unixfile )
set ff=unix 存为unix格式
可参考https://yyqing.me/post/2017/2017-02-22-vimtutor-chinese-summary
标签:vimtutor,字符,set,20,Linux0306,存为,unix,ff 来源: https://www.cnblogs.com/dingyuliang/p/15473440.html