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

Re: vim global options and local options

Expand Messages
  • Ben Fritz
    ... Although, it only doesn t matter because the OP was trying to set ignorecase
    Message 1 of 10 , Jul 29, 2012
      On Sunday, July 29, 2012 9:17:33 PM UTC-5, Ben Fritz wrote:
      > It [the way insert mode was exited] doesn't matter, because 'ignorecase' is a global only option as pointed out before.

      Although, it only doesn't matter because the OP was trying to "set ignorecase<" to restore the global value.

      Instead, this ought to work:

      autocmd InsertEnter * set noignorecase
      autocmd InsertLeave * set ignorecase

      Also see:

      :help 'smartcase'
      :help 'infercase' (as mentioned before)

      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.