install maximum awesome for redhat (vim)

#install maximum awesome

wget https://github.com/square/maximum-awesome/archive/master.zip
unzip master.zip
cd maximum-awesome-master/
yum install rubygem-rake

#install brew

 yum groupinstall 'Development Tools'
 yum install curl git ruby bzip2-devel curl-devel expat-devel ncurses-devel -y
 git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew
 export PATH="$HOME/.linuxbrew/bin:$PATH"
 export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"
rake

#install nerdtree

 cd .vim/bundle/
 git clone https://github.com/scrooloose/nerdtree.git

#install ctrlp

 cd .vim
 git clone https://github.com/kien/ctrlp.vim.git bundle/ctrlp.vim
#Add to your ~/.vimrc:
set runtimepath^=~/.vim/bundle/ctrlp.vim
#Run at Vim's command line:
#:helptags ~/.vim/bundle/ctrlp.vim/doc
#Restart Vim and check :help ctrlp.txt for usage instructions and configuration details.

发表评论

您的电子邮箱地址不会被公开。