Created
December 7, 2015 13:08
-
-
Save mhakeem/c0d1743b436a5157f550 to your computer and use it in GitHub Desktop.
Installing Vim Plugins with Janus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| install_fonts() { | |
| pip install --user powerline-status | |
| mkdir .fonts | |
| wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf | |
| wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf | |
| mv PowerlineSymbols.otf .fonts/ | |
| mkdir -p .config/fontconfig/conf.d | |
| mv .10-powerline-symbols.conf .config/fontconfig/conf.d/ | |
| fc-cache -vf ~/.fonts/ | |
| git clone https://github.com/powerline/fonts | |
| sh fonts/install.sh | |
| } | |
| cd ~/ | |
| curl -L https://bit.ly/janus-bootstrap | bash | |
| if [ ! -d ".janus" ]; then | |
| mkdir .janus | |
| fi | |
| cd .janus | |
| # downloading plugins | |
| wget http://www.vim.org/scripts/download_script.php?src_id=11894 -O AutoComplPop.zip | |
| unzip AutoComplPop.zip -d AutoComplPop | |
| rm AutoComplPop.zip | |
| git clone https://github.com/bling/vim-airline | |
| # installing powerline fonts for vim-airline | |
| install_fonts | |
| git clone https://github.com/mattn/emmet-vim.git | |
| # downloading .vimrc.after | |
| cd ~/ | |
| wget https://gist.github.com/mhakeem/60322b35b98ec4ba26f2/raw/8c6345faeaf3f6ac0151734c78bb87ad0c1a1dd8/.vimrc.after |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment