• frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    22 hours ago

    I’m surprised vim supports italics. Is there any terminal standard for that, like colors and bold text?

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      21 hours ago

      Apparently there are escape sequences for it; see my response to the parent post.

      Even if there weren’t, if a given terminal supported either the older Sixel or the newer KiTTY graphics protocol, it can outright display arbitrary images.

      Mainline tmux doesn’t support either protocol, though there’s a fork that does do Sixel. They’re using tmux, so I assume that that’s not the route used.

    • AHemlocksLie@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 hours ago

      I wouldn’t be surprised if support comes from a plugin rather than Vim itself. Plugins can do a LOT in Vim.

      Of course, Vim also has a crazy base feature set, so I guess I wouldn’t be all that surprised if it did have base support.