Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you know a way to copy the current selection in jless to the paste buffer? I find myself narrowing down a query for jq using jless but then having to manually remember the query to then jump to my terminal.


You can use `yq` to copy a jq-style path to currently focused node to your clipboard! (I’m the author of jless.)

There are a couple other copy variants as well:

https://jless.io/user-guide.html#copying


Oh fantastic thankyou! And thank you for jless!

I was running 0.7.1 rather than 0.8.0, so will upgrade now

Edit: Works great!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: