Skip to content
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

Personal Preferences vimrc #1

Open
straps opened this issue May 12, 2011 · 5 comments
Open

Personal Preferences vimrc #1

straps opened this issue May 12, 2011 · 5 comments

Comments

@straps
Copy link

straps commented May 12, 2011

First of all, thanks for your vimrc, works very well and is the best I've found for Javascript programming...

Could be useful to add an empty .vimrc-custom where everyone, if needed, can insert it's own code and personal shortcuts.

Thanks again

@vgod
Copy link
Owner

vgod commented May 12, 2011

That's a good idea! I will add it later.

@vgod
Copy link
Owner

vgod commented May 12, 2011

It seems a little tricky to get the path to the custom vimrc. I don't want to put the custom vimrc in the home directory, but in the ~/.vim. However, I can't find a universal way to get its path.

In fact, since I've used pathogen, you can create your own custom settings without modifying my vimrc by putting them in the ~/.vim/bundle//plugin/.vim.

@straps
Copy link
Author

straps commented May 12, 2011

I've inserted the source .vimrc-custom command on bottom of your .vimrc file and created my .vimrc-custom in the same directory; it works for me...

@vgod
Copy link
Owner

vgod commented May 12, 2011

I would like to put .vimrc-custom in the ~/.vim folder, not the home directory.

@greenlaw110
Copy link

I guess put .vimrc-custom in the home directory makes more sense. It's custom setting file, and shouldn't be part of version control. the .vimrc could add the logic to detect if there are .vimrc-custom in the home directory and source it if there is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants