Re: [arch-general] vim 7.2.245-1
On Mon, Sep 21, 2009 at 10:32 PM, Jozsef <jozefk@gmx.com> wrote:
I never used runtimepath before and everything worked fine.
You shouldn't have to. It is set by default by vim. In a running vim instance do :echo &runtimepath
And I don't have a "after" directory in /usr/share/vim/vimfiles/ at the moment. Is it something I should create by myself?
It doesn't need to exist. And it's certainly useless if empty. Only create it if you need it.
And all of that directories inside of /usr/share/vim/ are owned by root. It could be a reason why the plugins don't work if I copy them to vimfiles/plugins or vimfiles/after I'm not running vim as root, why should I do that?
Owned by root does not mean that you can't READ the files. Vim doesn't need to do anything except read them, and it can. I guess I'm confused as to where you installed your plugins. It's typically best to install them in ~/.vim/ rather than system wide
On Tue, Sep 22, 2009 at 6:10 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Mon, Sep 21, 2009 at 10:32 PM, Jozsef <jozefk@gmx.com> wrote:
I never used runtimepath before and everything worked fine.
You shouldn't have to. It is set by default by vim. In a running vim instance do :echo &runtimepath
To Jozsef : please remove your custom runtimepath from vimrc, and paste the output of the above command. You should keep your plugins in ~/.vim/ , and figure out why they are not found there.
On Tue, 22 Sep 2009, Xavier wrote:
On Tue, Sep 22, 2009 at 6:10 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Mon, Sep 21, 2009 at 10:32 PM, Jozsef <jozefk@gmx.com> wrote:
I never used runtimepath before and everything worked fine.
You shouldn't have to. It is set by default by vim. In a running vim instance do :echo &runtimepath
To Jozsef : please remove your custom runtimepath from vimrc, and paste the output of the above command.
You should keep your plugins in ~/.vim/ , and figure out why they are not found there.
Here is the output: /home/jozefk/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72/,/usr/share/vim/vimfiles/after,/home/jozefk/.vim/after And why the plugins don't work I can not tell you because I'm not moving them around. If I put runtimepath in .vimrc they work, if I remove it they don't work. So the problem is not with plugins and it's not with runtimepath. I don't know what else is different in this verison of vim. I'm not a programer and developer of vim. I'm just using it everyday. Even this email I'm typing in vim (without plugins since I comment out runtimepath :) -- Best, Jozsef Kurucity | Web & Graphic Designer +971 50 6783113 | jozefk@gmx.com
participants (3)
-
Aaron Griffin
-
Jozsef
-
Xavier