The command is also called motion
: Help!
Filter commands
Information Filtering (filter)
!==>tell vim to performing a filter operation
!5G, from the cursor down 5 lines to execute the filter program (tell the VIM to start filter under cursor and go down 5 lines)
:.,. +4!
: 10,15!sort-I only executes between lines 10th and 15th of the file (sort between line ten to 15)
!! (Filter the current line)
:., $!sort (sort from current line to end)
!! Date, insert current time (insert present date)
A filter is a program this accepts text at standard input, changes it in some
The, and sends it to standard output. can use the commands below to send
Some text through a filter, so, it's replace by the filter output.
Examples of filters is "sort", which sorts lines alphabetically, and
"Indent", which formats C program files (you need a version of the indent that
Works like a filter; Not all versions does). The ' shell ' option specifies the
Shell Vim uses to execute the filter command (see also the ' Shelltype '
option). You can repeat the filter commands with ".". Vim does not recognize a
Comment (Starting with ' "') after the":! "command.
:! Directly run an external command in the shell (call any external program)
Vim--filter Commands