kiritoyui
V2EX  ›  macOS

macos iterm2 怎么设置关键字不同颜色(像 mobaxterm 一样)

  •  
  •   kiritoyui · Dec 14, 2022 · 1754 views
    This topic created in 1271 days ago, the information mentioned may be changed or developed.

    mobaxterm 自带的 highlight sets 查看日志的时候很方便 iterm2 自己配置的 trigger 染色,效果不太好,比如说我配置了 err 显示红色,某些单词里面的 err 也显示成红色了

    有没有比较全的或者比较准确的 iterm2 模仿 mobaxterm 的关键字 染色方案? 2cdgPm

    Slurp
        1
    Slurp  
       Dec 14, 2022
    你正则写个 (?i)\berr\b 不就行了?只匹配单独成词的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   849 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:02 · PVG 04:02 · LAX 13:02 · JFK 16:02
    ♥ Do have faith in what you're doing.