Re: a question related to substitution using regular expression

2006-07-25 Thread Marshall Abrams
Why not just s/ .*// ? (For either vim or sed.) Marshall On Jul 25, 2006, at 1:09 PM, Tim Chase wrote: My file is like the following: data_1.dat pre= -1908.77 post= -48977.33 diff= -448.947 data_2.dat pre= -444.333 post= -333.545 diff= -777.333 . . I hope to find out a regular

Re: colors

2006-07-18 Thread Marshall Abrams
As a devotee of vim, I want to put in a vote for trying to make new releases violate fewer rather than more of existing users' assumptions (although I know that there are always tradeoffs). Why should the default color scheme suddenly change when one upgrades? (Hmm maybe fire suits should go

Key mappings (was: Re: colors)

2006-07-18 Thread Marshall Abrams
On Jul 18, 2006, at 2:33 PM, A.J.Mechelynck wrote: Marshall Abrams wrote: As a devotee of vim, I want to put in a vote for trying to make new releases violate fewer rather than more of existing users' assumptions (although I know that there are always tradeoffs). Why should the default color

Re: auto upper/lower in replace pattern based on search pattern?

2006-07-13 Thread Marshall Abrams
as a possible future feature? Marshall On Jul 7, 2006, at 4:26 AM, Yakov Lerner wrote: On 7/7/06, Marshall Abrams [EMAIL PROTECTED] wrote: Hate to ask this because I'm sure the answer is already out there somewhere, but I've searched help and vim.org until I was blue in the fingers I could

auto upper/lower in replace pattern based on search pattern?

2006-07-06 Thread Marshall Abrams
Hate to ask this because I'm sure the answer is already out there somewhere, but I've searched help and vim.org until I was blue in the fingers I could swear that I remember from a few years back that there's a way to do this. Can't remember whether it required something special in the