mac osx vi 高亮展示设置

mac osx vi 高亮显示设置转自:Andrews Blog??Press the Escape key to take vim out of Insertion Mode ,

mac osx vi 高亮显示设置

转自:Andrew's Blog

?

?

Press the Escape key to take vim out of Insertion Mode , then press ‘: ‘ (colon ) followed by ‘x ‘ to save the file and exit. Enter this command again:

sudo vim vimrc

… and you’ll see that vim now automatically indents code , displays the cursor position , has syntax highlighting , etc.