开启vim的语法高亮
cp /usr/share/vim/vimrc ~/.vimrc #复制 vim 配置模版
echo 'syntax on' >> ~/.vimrc
安装ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
zsh-syntax-highlighting 插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
添加插件到ohmyzsh配置中
zsh-syntax-highlighting zsh-autosuggestions vi-mode
autojump (可选)
brew install autojump