Skip to content

Basic development environment, include bashrc, vimrc/plugins, gitconfig, etc.

License

Notifications You must be signed in to change notification settings

tsforce/final_dev_env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Basic development environment, include bashrc, vimrc/plugins, gitconfig, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 45.7%
  • Makefile 25.2%
  • Shell 15.2%
  • Smarty 8.2%
  • Vim Script 5.7%