tabs in vi
Michael Morrell
morrell at hpsal2.HP.COM
Tue Aug 29 12:25:48 AEST 1989
> A quick way to do this is :$ to the end of the file, set a mark with
> ma, :0 back to the top, then type !'aexpand -4<cr> This runs the
> text of the file through expand, deletes it all, then replaces it with
> the output from expand.
You can do this without the mark by using "!Gexpand -4<cr>". The "G" will
apply the expand from the current line to the end of the file.
Michael
More information about the Comp.unix.questions
mailing list