I’m trying to execute base64 --decode on a piece of text selected in Visual mode, but it is the entire line that seems to be passed to the base64 comma
base64 --decode
base64
If you want to replace the text with the output of base64, use something like
:vnoremap 64 y:let @"=system('base64 --decode', @")gvP