[Mac] Terminal and Vim theme

1.Install brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2.Install coreutils

brew install coreutils

Add the following lines to your ~/.bash_profile:

vim ~/.bash_profile

if brew list | grep coreutils > /dev/null ; then
  PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"
  alias ls='ls -F --show-control-chars --color=auto'
fi

3.Install Git

brew install git bash-completion

Add the following lines to your ~/.bash_profile:

vim ~/.bash_profile


if [ -f $(brew --prefix)/etc/bash_completion ]; then
  . $(brew --prefix)/etc/bash_completion
fi

4.Download terminal theme

brew install git
git clone https://github.com/stephenway/monokai.terminal.git
open monokai.terminalcd

Open file: Monokai.terminal

5.Install the amix vimrc

git clone https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

OK, it's done.

vim ~/.vimrc

[Mac] Terminal and Vim theme_第1张图片

你可能感兴趣的:(Mac)