Base64 decoding inside Vim

Today I needed to decode a part of Base64 data which was embedded in an XML file. Normally I would store this fragment in an own file and use the base64 commandline tool for decoding.
But today, due to my recent Vim activities, I was asking myself if I could not simply do this inside Vim. I remembered that it is possible to filter Vim buffers through external commands like astyle for reformatting code. So the same procedure should work also for base64 decoding, right? Yes, it does!

Here is a short video doing that. Everything within a vim buffer that does not even exist as a file.

Advertisements

0 Responses to “Base64 decoding inside Vim”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: