Skip to content

Latest commit

 

History

History
95 lines (75 loc) · 2.74 KB

README.md

File metadata and controls

95 lines (75 loc) · 2.74 KB

Fenv

The project is Basic Development Environment, including:

  • bashrc
  • vimrc, plugins
  • gitconfig
  • ...

This environment is very simple, clean and easy to manage.

How to Install

Step 1 - Clone and Deploy

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

Step 2 - Link Bashrc

  • 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

Step 3 - Install Vim Plugins

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

Step 4 - Special Plugin

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

Using System Clang

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.

Step 5 - Enjoy

Now, your development environment is ready, any question/problem please file an issue here. If you also like it, please Star it.

Furture Read

Update Vim Plugins

If you only want to update your vim plugins, just run the following in your shell:

bash$ vim +PluginInstall +qall

Update all scripts/configs

make

NOTES: This won't break your vim plugins, only re-deploy your scripts/configs

Contribution

If you have more suggestions or recommendations, it's great to send a pull request.

References

Vim Plugins

The following are the total plugins in here: