9 ms·
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 manuall
by anitil 4y ago
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.
- CodeIsTheEnd 4y agoYou 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 https://jless.io/user-guide.html#copying
- anitil 4y agoOh 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!