On 5/15/06, Popovic Dan <[EMAIL PROTECTED]> wrote:
> I have a question on replacing text. I have a simple text-file with a
table of results like this:
>
> --
> Mosbach - KSF 2 2 : 6
>
> Zimmer- Pfrommer 0
> Mueller
icht-
> Von: "Christoph Nodes" <[EMAIL PROTECTED]>
> Gesendet: 15.05.06 16:14:53
> An: "Popovic Dan" <[EMAIL PROTECTED]>
> CC: vim@vim.org
> Betreff: Re: Replace & Insert: Filling in whitespaces till position 15
> you could try something like
Hello Benji,
thank you for your suggestion. The script of Dr.C is seems to be a very
powerful tool
for various align-tasks. I tested it for half an hour and I'm really enlighted.
For those who are interested, I'll give a short report on what I tried with my
sample file (see below)
It is possib
you could try something like
:%s/^\s*\(\w\+\)\s*-\s*\(\w\+\)/\=submatch(1).strpart(' ',
strlen(submatch(1))).' - '.submatch(2)/
(all in one line)
:help sub-replace-special
On 5/15/06, Popovic Dan <[EMAIL PROTECTED]> wrote:
Hello dear list-members,
I have a question on replacing
On Mon, May 15, 2006 at 03:19:46PM +0200, Popovic Dan wrote:
> Hello dear list-members,
>
> I have a question on replacing text. I have a simple text-file with a table
> of results like this:
>
> --
> Mosbach - KSF 2 2 : 6
>
Hello dear list-members,
I have a question on replacing text. I have a simple text-file with a table of
results like this:
--
Mosbach - KSF 2 2 : 6
Zimmer- Pfrommer 0
Mueller - Kargoll 1
Schwab-