美文网首页
iterm2 主题+vim高亮

iterm2 主题+vim高亮

作者: 钱学敏 | 来源:发表于2018-04-15 16:32 被阅读0次

oh-my-zsh 让终端66的

oh-my-zsh github地址

安装

在终端输入以下 并回车

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

修改主题方法

//打开配置文件
vim ~/.zshrc
//然后修改ZSH_THEME 更换主题

主题类型到这里查看

See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="cloud"

基于oh-my-zsh的配色主题

https://draculatheme.com/iterm/

导入后选择主题

iterm2自动补全提示功能

https://github.com/zsh-users/zsh-autosuggestions

配置自动补全

配置 vim高亮显示

vim ~/.vimrc
//增加一行  syntax on

这篇文章不错 记录一下 https://www.cnblogs.com/xishuai/p/mac-iterm2.html

相关文章

网友评论

      本文标题:iterm2 主题+vim高亮

      本文链接:https://www.haomeiwen.com/subject/ffodkftx.html