It is possible to pipe visually selected lines (i.e. selected with uppercase V) using :, after which I can enter a command in vim's command line, e.g.:
:'<,'>!python -m base64 -d
I'd like to do the same for the selected character range (i.e. selected with lowercase v). Using : still creates a linewise range (:'<'>
). Trying to manually provide a character range like this:
:`<,`>!python -m base64 -d
Still does not work; it outputs this:
E492: Not an editor command: `<`>!python -m base64 -d
The question: How can I pipe visually selected characters to a system (cmd) program?