download latest babun ,unzip and click shell to install
- download python3.5.exe click install(not pact install python into babun)
- add alias python="/cygdrive/d/Program\ Files\ (x86)/Python35-32/python" to ~/.alias
- add alias python2="/usr/bin/python" to ~/.alias
- cp .func ~/ #usefull utilus cmd tools
- cp .alias ~/ #custom personal alias
- cp .my_shell ~/ #set my custom shell enviroment
- add "source .my_shell" to ~/.zshrc to autoload my custom enviroment
- git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- cp .vundlerc ~/ #vundle setup andd plugin add to .vundlerc
- cp .vimrc ~/ #custom vim setup ,and add "source ~/.vundlerc" into .vimrc 4 vim , :PluginList ,:PluginInstall to install all plugin which specify in .vundlerc
- download gvim8.0.exe click install to "d:/Program/Vim/" !!!make sure no space in path(not pact install gvim into babun)
- cp cyg-wrapper.sh ~/bin #this shell make windows and linux path type compatiable
- add alias gvim='cyg-wrapper.sh "d:/Program/Vim/vim80/gvim.exe" --fork=1' to ~/.alias
- export VIM="d:/Program/Vim/vim80/" #default VIM is ="/etc" and this change will cause vim not work correctly
- cp /etc/vimrc /cygdrive/d/Program/Vim/vim80 #to make sure vim work
- cp ~/.vim/colors/*.vim to /cygdrive/d/Program/Vim/vim80/colors #to make sure colorscheme "ir_black" can be found
- now gvim and vim will use same .vimrc setup and plugin in ~/.vim/bundle
Now type gvim in terminal you can found the look as same as open gvim.exe in widows
- cd d:/Program/; mkdir bc4/
- ln -s ../../Program Files/Beyond Compare 4/BCompare.exe
- add alias bc4='cyg-wrapper.sh "D:/Program/bc4/BCompare.exe" --fork=1' to ~/.alias
- bc4 xx1 xx2 can automatic recognize linux path and windows path