美文网首页
iTem2 配色教程

iTem2 配色教程

作者: 归隐小赵 | 来源:发表于2021-12-05 15:24 被阅读0次

    最终效果

    image.png

    配置教程

    首先导入iTem2配色

    https://raw.githubusercontent.com/MartinSeeler/iterm2-material-design/master/material-design-colors.itermcolors

    下载配色文件,在iTem2进行导入

    Preferences > Profiles > Colors > Color Presets > Import

    img

    安装oh-my 插件

    <pre class="md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded" spellcheck="false" lang="ssh" cid="n31" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 0px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"> //语法高亮
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
    //自动补齐
    git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions</pre>

    安装字体文件【解决icon异常显示的问题】

    • 异常照片
    img img

    相关文章

      网友评论

          本文标题:iTem2 配色教程

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