Skip to content

Instantly share code, notes, and snippets.

@jinzhubaofu
Last active August 29, 2015 14:01
Show Gist options
  • Save jinzhubaofu/001fba595a59d816b33b to your computer and use it in GitHub Desktop.
Save jinzhubaofu/001fba595a59d816b33b to your computer and use it in GitHub Desktop.
bash & vim

linux上的bash和vim

Bash?No!

找到一个非常非常帅的bash替代品:zsh

在ubuntu上,直接运行安装

sudo apt-get install zsh

然后去github上找一下oh-my-zsh

上边有详细的安装指导,安装完请惊呆。。。

curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

vimrc

这个货也是一个大难题。要不怎么说github就是一个大活宝,啥都有!

在github上找humiaozuzu/dot-vimrc

嗯,各种详细的安装指导。擦,安装完,又惊呆了。。。

干脆直接贴上安装代码好了。。。

mv ~/.vim ~/.vim.bak
mv ~/.vimrc ~/.vimrc.bak

git clone git://github.com/humiaozuzu/dot-vimrc.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

启动vim,忽略那些错误提示,然后输入

:BundleInstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment