Loading ...
Sorry, an error occurred while loading the content.

75964Re: Ignore case only during searching

Expand Messages
  • A.J.Mechelynck
    Dec 2, 2006
    • 0 Attachment
      Daniel Trstenjak wrote:
      > Hi all,
      >
      > I would like to have ignored case during searching by '/' and '?',
      > but not during word completion in normal mode, and not during
      > tag completion in commmand mode. I have played around with
      > 'ignorecase' and 'smartcase', but I couldn't get the desired behaviour.
      >
      > Any ideas?
      >
      >
      > Best Regards,
      > Daniel
      >
      >

      Use \c anywhere in the pattern to ignore case. To automate it, you can use:

      :map / /\c
      :map ? ?\c

      see ":help /\c"


      Best regards,
      Tony.
    • Show all 3 messages in this topic