I have a line
set cpoptions+=$ "add the '$' sign as change command indicator
in my .vimrc file, however after vim is started
set cpoptions?
shows the '$' option isn't set. if I type :set cpoptions+=$ manually in vim everything works fine.
I suspect during the vim initialization, after the line in my .vimrc file gets executed, the option somehow gets reset(could be a plugin).
my question is, does vim provide command/tool to debug issues like this?
I am using vim on Mac OS X ( NOT MacVim).
Thanks!
-Xiaotian
:verbose set cpoptions?
会告诉你它上次设置的位置。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.