1

For example if in normal mode 4: is pressed, in the command line there will be :.,.+3. What does this mean and what is it used for?

1 Answer 1

1

This is a line range (see :h :range). "The dot" means the current line. So it's the current line and the next three ones.

The operation to perform over this line range, of course, depends on the command you type in the command-line.

So 4: is just a handy "shortcut" to input line range.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.