I interact with a lot of encoded formats like JSON Web Tokens (JWTs) as well as wanting to unpack URLs, so I've found it super handy to be able to pipe visually selected text into a command, i.e.:

:'<,'>!unpack

(source)

Or to do the same with a visual selection:

c<C-R>=system('unpack', @")<CR><ESC>

(source)

Also on: Lobste.rs logo

This post was filed under replies.

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.