ov icon indicating copy to clipboard operation
ov copied to clipboard

Feature request: allow setting more options for a view mode

Open visrosa opened this issue 6 months ago • 1 comments

I was trying to create a view mode for the output of inxi and noticed that some options I want can only be set via commandline or interactively.

Specifically , --multi-color and --hide-other-section.

It would be nice to be able to be able to customize ov's behavior more completely in the config file and in the view modes.

visrosa avatar Jun 10 '25 14:06 visrosa

Thank you for the issue.

I'm sorry, this wasn't written in the README.md document. Actually, you can set it in view mode as well. You can write it like this.

Mode:
  markdown:
    SectionDelimiter: "^#"
    WrapMode: true
    MultiColorWords:
      - "ov"
      - "support"
      - "multi"
    HideOtherSection: true
    Style:
      SectionLine:
        Background: "blue"

I'll edit README.md later.

noborus avatar Jun 10 '25 15:06 noborus

This issue has been addressed so I will close it.

noborus avatar Jun 25 '25 07:06 noborus