antonmedv / antonmedv/fx

Custom string preview

Open
#408 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Go
Stars
20.6k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

Would like to be able to transform the string before previewing (p) it, like piping to `jq` (or `fx` itself) to handle nested JSON, piping to a markdown rendered to handle markdown etc.

This is different from print (P) as the latter exits fx. This would stay instead. Process is:

1. Navigate to string
2. Press custom preview key
3. fx pipes the string to a program
4. fx displays the result from the program instead of a plain string

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.