-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BundleInstall update .vimrc? #343
Comments
I think it is the correct behavior. |
You should execute |
Don't you create link from vimrc in repo to ~/.vimrc? |
There is also the autoload plugin - then saving a .vim file is enough to make vim reload it using :source command. The idea behind vundle/vam/NeoPlugin is be declarative: Declare what you want to use, thus the state which plugins to load is your .vimrc - and you should edit it yourself. q:yy:qp will paste the last history line into current (.vimrc) buffer - thus its easy and fast. #364 shows how to install and require at runtime - Bundle does not do it - I think there should be an extra command |
@MarcWeber No, neobundle supports this feature like this: NeoBundleDirectInstall 'tpope/vim-fugitive' |
I agree I mixed things up. Its too complicated anyway, see #388. There should be two commands 1) InstallAndActivate 2) install (for reviewing before activating). |
no reaction, close? |
👍 for closing as wontfix, It is not simple, and not Vundle's job to modify anybody's vimrc. It seems to me like a disaster waiting to happen. |
@jdevera It is definitely not the job of Plugin/PluginInstall to update a users vimrc. NeoBundle took the correct approach having a separate command that uses a separate file to load direct installed bundles. I don't think I like this though, as people could forget these plugins exists since they are in a separate file. At the end of the day, users should be responsible for what's installed in their vimrc. So yes, I'm closing it as won't fix. |
Not sure if this is a bug but from what I was reading I thought BundleInstall 'tpope/vim-fugitive' would download the repo and update the .vimrc file, but mine is not updating the file is this the correct behaviour?
The text was updated successfully, but these errors were encountered: