Tuesday, October 26, 2010

Re: Copying and replacing chars of a line through a regex

On Oct 26, 6:13 pm, Fernando Basso <fernandobasso...@gmail.com> wrote:

> Moreover, what if I wanted to make it paste above (in line 8)?

Well, for that I came up with:


:9global/^\w/t.|.-1substitute/./=/g

However, I still don't understand where in that regex line it is
implied to
paste line 9 to line 10.

--
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

No comments:

Post a Comment