I'm pretty new to Vim/gVim and am probably doing something wrong. What I want to do is completely reload my configuration (like a restart), but while gVim is running (keep the current session). Here are the steps I take and their result:
-
Start gVim → No error
-
:so $MYVIMRC → No error
-
:so $MYGVIMRC
Error detected while processing ~.gvimrc:
line 1:
E185: Cannot find color scheme 'kolor'
When I do step 3 before step 2 I don't get any error, but what if I want to source the files multiple times in the same session? Do I have to unload them first somehow, or do I have to save the session, restart gVim and reload the session again each time?
~/.gvimrc:
set runtimepath=$HOME/.vim,$VIMRUNTIME,$HOME/.vim/after
execute pathogen#infect()
~/.gvimrc:
colorscheme kolor
~/.vim/autoload/pathogen.vim
~/.vim/bundle/vim-kolor/colors/kolor.vim
Vim 7.4, patches 1-2054
Windows & Xubuntu
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 270
تاريخ: جمعه
1 مرداد
1395 ساعت: 2:59