Open boonya opened 8 years ago
It's interesting idea... Let's start with discussion!
One thing, that I'm 100% sure is that the name of current repository should be something like PY.VIMRC
, but not VIMRC
(in case we will live it with the current content).
The number one question here is what do you propose to include in "just pure vim with basic configurations"?
"Pure vim" - it is something like this one https://github.com/boonya/vimrc/tree/without-python But I'd like to add NerdTree a bit later and couple of other useful plugins.
Here https://github.com/boonya/vimrc/blob/without-python/vimrc#L28 you can see only tree plugins:
VundleVim/Vundle.vim
flazz/vim-colorschemes
bling/vim-airline
And nothing about specific customisation like virtualenv
, jinja
, python-pep8-indent
and so on...
I think that it makes sense, but how do you think about having 2 separate repos for that - VIMRC
& PYVIMRC
?
Or how do you see usage of 2 separate branches for this?
I'm asking because my initial idea was to create environment for the python developers only and I'm not very familial with other guy tasks and their needs.
About two separate branches... We can use command like git clone -b python --single-branch https://github.com/ets-labs/vimrc.git ~/.vim
for checkout on only one specific branch. It should work with Git 1.7.10 and later. For older versions of Git git clone -b python https://github.com/ets-labs/vimrc.git ~/.vim
.
And I'm not really sure regarding to separate repos. It is still VIM but with different plugins.
Ok, gotcha! So, here is my proposal:
vimrc_mod_python
).init.sh
to setup.sh
.setup.sh python
or setup.sh basic
/ add special step that will ask user about required config's content.source vimrc_mod_python
(it works like include directive) into vimrc
during the installation process based on user's needs.PS
Just a few thoughts about previous ideas:
I'd prefer to split current project on two different branches like: master (just pure vim with basic configurations) and python (vim for python development) It can be useful for people who want to have precofigured vim for their servers and so on. By this way we can add more branches for different goals in the future.