默认的MacVim colorscheme最后在脚本名中加载 - 无法加载任何colorschemes

时间:2017-06-13 02:55:16

标签: vim macvim

MacVim上的

:scriptnames给了我(按顺序):

/Applications/MacVim.app/Contents/Resources/vim/vimrc
/Applications/MacVim.app/Contents/Resources/vim/runtime/defaults.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syntax.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/synload.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/menu.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/autoload/paste.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/indent.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/getscriptPlu
gin.vim
 /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/gzip.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/logiPat.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/manpager.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/matchparen.v
im
 16: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/netrwPlugin.
vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/rrhelper.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/spellfile.vi
m
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/tarPlugin.vi
m
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/tohtml.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/vimballPlugi
n.vim
/Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/zipPlugin.vim
/Applications/MacVim.app/Contents/Resources/vim/gvimrc
/Applications/MacVim.app/Contents/Resources/vim/runtime/colors/macvim.vim

我编辑了第二个到最后一个gvimrc文件,以反映我在正确目录(https://github.com/romainl/Apprentice)中的颜色方案,但颜色总是错误的,macvim.vim默认颜色方案总是如此最后加载

1 个答案:

答案 0 :(得分:0)

colorscheme apprentice

可以进入这三个文件中的任何一个:

~/.vimrc
~/.vim/vimrc
~/.gvimrc
~/.vim/gvimrc

无处其他。