The help entry for filter explains what the idea is and gives some examples of filters like sort
and indent
, but does not list the possibilities.
How can I find out all the possible filters?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityThe help entry for filter explains what the idea is and gives some examples of filters like sort
and indent
, but does not list the possibilities.
How can I find out all the possible filters?
consider every program that reads stdin and writes stdout a filter. What is available is out of scope of vim. It largely depends on your OS and installation. The sort of the example in the vim-docu is not part of vim. Besides, it is a bad example, since quite a while vim has inbuild-sort.
sed, perl, python, node, cat, tail, less .... are all valid filters