Reputation: 173
By default Vim is looking for plugins and other stuff in ~/.vim
.
Is there any way to tell Vim to search for plugins, etc. in ~/.other_folder
and force it to ignore ~/.vim
entirely?
Upvotes: 3
Views: 121
Reputation: 172688
Vim uses the comma-separated paths from 'runtimepath'
to determine where to look for :runtime
'd files.
You can change that option either in ~/.vimrc
(which is sourced as the very first script), or by passing the set rtp=...
commands on Vim's command-line via --cmd
(the commands passed with -c
are only applied after startup).
Upvotes: 4