Replacing commas with tabs in KWrite

Matthew Woehlke mw_triad at
Tue Feb 5 02:02:18 GMT 2008

Eyolf Ă˜strem wrote:
> On 04.02.2008 (14:47), Matthew Woehlke wrote:
>> Actually, as soon as I posted that, I remembered the 's' command, which 
>> /does/ understand \t... view->switch to command line, and then type 
>> 's/,/\t/g' works, but only on the current line. I want to say there is a 
>> way to make it work on all lines (and I found a list mail on google that 
>> implies it is so), but I don't recall how offhand, and haven't managed 
>> to track down anyone that knows.
> Just prepend a range of the command (do :help range). % is the whole file,
> 1,25s/.... would apply the substitution to the first 25 lines,
> :/foo/,/bar/s/... between the first matches of "foo" and "bar", etc.
> Quite powerful, that little vimmer...

Ah, so *that's* the prefix. I was trying the sed prefix, '1,$'... Can 
you tell I'm not much of a vim guru? ;-)

HIPPOS wallow slightly in the MUDDY RIVER
What do you want to do next?
You join HIPPOS.

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list