The project is Basic Development Environment, including:
- bashrc
- vimrc, plugins
- gitconfig
- ...
This environment is very simple, clean and easy to manage.
First click Fork
Button, then clone the code from your own repository and install it
git clone git@github.com:$yourname/final_dev_env.git fenv
cd fenv
git submodule update --init
make
-
After
make
, you will see the following text:if [ -f /path/to/fenv/user_env/all.bashrc ]; then . /path/to/fenv/user_env/all.bashrc fi
-
Copy this into your own ~/.bash_profile
-
Restart Bash
NOTE: After that, the two global environment variables already there:
- FENV_HOME - All the bashrcs, git config and vim plugins here
- FENV_GIT - the place of this repository in your computer
All the vim plugins is managed by Vundle, so you need to install them for the first time
- Run
vim +PluginInstall +qall
NOTE: You also can open vim and run :PluginInstall
for the first time
NOTE: For updating plugins, you can run :PluginUpdate
to update all your plugins
For who also install the YouCompleteMe, to complete this plugin's installation step:
- go to its folder
$FENV_HOME/vim/YouCompleteMe
- Run
./install.sh --clang-completer
If you are using Mac, use system clang will be a better solution
- go to its folder
$FENV_HOME/vim/YouCompleteMe
- Run
./install.sh --clang-completer --system-libclang
NOTE: If you are a Mac User, please download the lastest MacVim.
Now, your development environment is ready, any question/problem please file an issue here. If you also like it, please Star
it.
If you only want to update your vim plugins, just run the following in your shell:
bash$ vim +PluginInstall +qall
make
NOTES: This won't break your vim plugins, only re-deploy your scripts/configs
If you have more suggestions or recommendations, it's great to send a pull request.
The following are the total plugins in here: