Re: infercase for :substitute?

2007-03-30 Thread Ingo Karkat
Martin Stubenschrott wrote: On Thu, Mar 29, 2007 at 04:29:38PM -0700, Joseph Barker wrote: Say I have the following line: foo = getFoo() It would be convenient to be able to do a single :s/foo/bar/g that respects the case of the original input. It would transform the input line into the

Re: infercase for :substitute?

2007-03-30 Thread Martin Stubenschrott
On Fri, Mar 30, 2007 at 09:00:44AM +0200, Ingo Karkat wrote: There's another script, SmartCase, which only slightly differs from keepcase.vim in the semantics of its invocation: http://www.vim.org/scripts/script.php?script_id=1359 I have used that for some time, but was wondering why it has