PaulJuliusMartinez / jless

jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
https://jless.io
MIT License
4.73k stars 91 forks source link

feature request: open document in $EDITOR by pressing v (or any other key) #113

Open fs111 opened 1 year ago

fs111 commented 1 year ago

In less one can open the current document/file/buffer in $EDITOR by pressing v. This is extremely handy if one is looking at output from a complicated/slow/expensive pipeline as it allows the data to be saved to a file. It would be great if jless could support that too.

I often find myself doing a curl <some-endpoint> | jless for an inintial inspection of the data, but then I have to run the curl again to save the data to disk. With the above feature I would not have to rerun and could directly to go an editor. The data would not have to be formatted, just a way to get it out of jless would be great.