missing-semester lecture03 Vim
Download our basic vimrc and save it to ~/.vimrc. Read through the well-commented file (using Vim!), and observe how Vim looks and behaves slightly differently with the new config.
一開始用:
mkdir ~/.vimrc
但是重開vim會出現錯誤訊息:「Cannot source a directory: "$HOME/.vimrc"」
用:
vi .vimrc
之後再把vimrc裡面的內容貼過去就解決了。
參考:
http://wiki.csie.ncku.edu.tw/vim/vimrc
沒有留言:
張貼留言