定义
:let assigns a value to a variable, and :set assigns a value to one of Vim's internal options.
For example, you would use
:let mystring='Hello!'
to declare a new variable, but you would use
:set tabstop=4
or
:set expandtab
to set one of Vim's options.
转载请注明:牛哥678 » :set :let区别