| Computers Forum Index » Computer - Editors » empty lines... |
|
Page 1 of 1 |
|
| Author |
Message |
| julia... |
Posted: Wed Sep 02, 2009 1:25 am |
|
|
|
Guest
|
How do I insert a blank line after the pattern \end{tabular} ?
\end{tabular}
Thanks. |
|
|
| Back to top |
|
|
|
| Andreas Waldenburger... |
Posted: Wed Sep 02, 2009 10:23 am |
|
|
|
Guest
|
On Tue, 1 Sep 2009 18:25:08 -0700 (PDT) julia <julia_2683 at (no spam) hotmail.com>
wrote:
Quote: How do I insert a blank line after the pattern \end{tabular} ?
[snip]
Press the Return key?
I think you need to be more specific. What editor are you using, for
starters. I'm assuming you want to know about some automatic method
that inserts a blank line for you, but you need to disclose a bit more
about your specific requirements.
regards
/W
--
INVALID? DE! |
|
|
| Back to top |
|
|
|
| julia... |
Posted: Wed Sep 02, 2009 12:38 pm |
|
|
|
Guest
|
How do I insert a blank line after the pattern \end{tabular} ?
Hello
Sorry, I use vim but RE dosen't work.
:%s/\v/\\end{tabular}/&\r\r
Quote: [snip]
Press the Return key?
I think you need to be more specific. What editor are you using, for
starters. I'm assuming you want to know about some automatic method
that inserts a blank line for you, but you need to disclose a bit more
about your specific requirements.
regards
/W
--
INVALID? DE! |
|
|
| Back to top |
|
|
|
| Gary Johnson... |
Posted: Wed Sep 02, 2009 8:48 pm |
|
|
|
Guest
|
julia <julia_2683 at (no spam) hotmail.com> wrote:
Quote: How do I insert a blank line after the pattern \end{tabular} ?
Hello
Sorry, I use vim but RE dosen't work.
:%s/\v/\\end{tabular}/&\r\r
\v means "very magic", which I don't think you want in this case. See
:help /\v
But even if you intended to use "very nonmagic", which is indicated by
\V, that second slash, the one following the \v, still terminates the
pattern which again is not what you want. Try this command instead.
:%s/\\end{tabular}/&\r/
--
Gary Johnson |
|
|
| Back to top |
|
|
|
|