-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This might be outside the scope of this software, but it would be useful to set custom tools to run on the output before display by ov, ideally tied to view modes.
Colored output (and preprocessing in general) can already be achieved by common pipes, e.g. pygmentize file | ov, or by using something like bat that calls ov as a pager.
But being able to tell ov itself to run those has three advantages I can see:
- ov remains aware of the file it is displaying rather than just saying "stdin"
- when using
ov --execit would allow for coloring the ouput while still maintaining separate stdin and stderr - allows the user to set up custom preprocessing for edge cases, such as the small edits necessary to get fstab displaying nicely as a table I described in About column mode behavior #269
allefeld
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request