[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim question



On Mon, 12 Jul 1999, Shao Zhang wrote:
--Hi,
--	Is there any easy way to:
--
--	insert a single(or two) tab at the beginning of the next 10 lines.
--
--	??
--
--	Thanks.
--
--Shao.

:.,.+10s/^/^I/g


where: your cursor is on the line you want to start from
       ^I is the tab key



  --ernie  :^)


"------------------------------------------------------------"
" My work...                               **                "
"    Seismic imaging software             *::*      **       "
"                                    **  *::::*    *::*      "
" My hobby...                          **      *  *    ***   "
"    Linux programming                          **           "
"------------------------------------------------------------"


Reply to: