vim常用命令

  • 2017-10-10 v1.0
  1. :set filetype查看文件类型。文件扩展名和类型不同,.py文件的文件类型为python;.cu文件的类型为cuda。
  2. :set filetype=abc设置文件类型为abc。