On 05/13/2011 11:16 AM, Taylor Hedberg wrote:
`%` is a special address range that means "do this for all
lines in the buffer". So `:%retab` means "retab the entire
buffer". For `:retab` in particular, though, the default is to
act on the entire buffer, so the `%` is redundant. Many
commands only operate on a single line by default, so it would
make more sense in those cases.

And just in case you want counter-examples, commands like :s and :d default to only the current line instead of the entire file.

-tim


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to