Vim是什么?
Vim - the ubiquitous text editor
Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as “vi” with most UNIX systems and with Apple OS X.
如何使用Vim?
打开终端,输入vim,便可以运行vim编辑器。打开Vim后直接默认进入普通模式,在普通模式下,每一个按键有独特的含义(按下a并不会输入a这个字符),所以这个时候你按键是不会有反应的,按下小i键(insert)或者小a键(append)就可以进入插入模式,这时每个按键就变成了相应字符的输入。按下ESC就可以返回普通模式。