Skip to content

Greplace doesn't recognize changes of case #6

@m1foley

Description

@m1foley

In my .vimrc:

set ignorecase
set smartcase

My :Gsearch buffer results:

#
# Modify the contents of this buffer and then
# use the ":Greplace" command to merge the changes.
#
foo.html.erb:35:  <p>bar</p>

I change it to:

foo.html.erb:35:  <p>Bar</p>

Typing :Greplace displays this message:

Error: No changes in the replace buffer

It behaves as expected if:

  • I type :set noignorecase, or
  • If another change is made other than changing the case (e.g., adding a space to the end of the line)

I believe Greplace should always be case sensitive when checking for changes in the replace buffer, regardless of the user's ignorecase setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions