-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add an "extra.vimrc" to allow user added Bundles #27
Add an "extra.vimrc" to allow user added Bundles #27
Conversation
Allows the addition of bundles in an easy-to-merge way :)
@jjungnickel is right. And @zaiste: You may close this issue to keep the opened issues list clean :) |
@AdrienGiboire Thanks! I adore clean issue list ;) |
Yup, sorry for the late response (was AFK from email last week). The issue with local.vimrc is that it comes before the Vundle initialization lines (before which Bundle statements will fail): set rtp+=~/.vim/bundle/vundle/
call vundle#rc() I added the extra.vimrc file after these so Vundle wil be full of happiness and joy. @AdrienGiboire I'm not sure what you mean about the "Bundles" block? In any event, I screwed up the block delimiters, so you won't want to take this commit as-is anyway. I was meaning to fix the pull request but I didn't get a chance to :(. |
The delimiters are fixed in the master. The " Load addidional configuration (ie to overwrite shorcuts) {{{
if filereadable(expand("~/.vim/after.vimrc"))
source ~/.vim/after.vimrc
endif
" }}} |
I'm... I'm still not sure what you mean by the bundles block: $ grep -i bundles ~/.vim/vimrc
$ Anyhow, the idea was so people could add Bundle lines without having to worry about conflicts in vimrc when pulling. The reason I added the extra.vimrc was to add new Bundle statements after Vundle is initialized, but before all the mappings in the vimrc, since bundles will do their own maps which can sometimes interfere with the ones in vimrc. With the before/after scheme, there's no way to load additional bundles without also potentially sacrificing some of the mappings in vimrc. If I add "Bundle" lines to If there's no general interest in this functionality, then that's fine, too :). |
I see. Well, it's more relevant that way, indeed. @zaiste, we should reconsider his idea :) PS: By Bundles, I meant Packages. My bad :) |
I think I should have been more clear in my original pull. I forget that other people can read my mind ;-D |
@riannucci, maybe you should pull your request again? ;) |
Requested again as pull 37 |
Allows the addition of bundles in an easy-to-merge way :) (For those of us who are tracking our personal changes in a git repo)