PracticalVim Tip111 - yszheda/wiki GitHub Wiki

Table of Contents

Tip 111: Meet Vim's Keyword Autocompletion

Return to the top: <>

Autocompletion and Case Sensitivity

  • Vim's search command treats uppercase and lowercase letters as equivalent when the 'ignorecase' option is enabled.
  • Side effect: autocompletion also becomes case insensitive.
  • Solution: enabling 'infercase' option.

References:

Triger Autocompletion

A Summary of Vim's Autocomplete Methods | Command | Type of Completion | | `` | Generic keywords | | `` | Current buffer keywords | | `` | Included file keywords | | `` | tags file keywords | | `` | Dictionary lookup | | `` | Whole line completion | | `` | Filename completion | | `` | Omni-completion |

References:

⚠️ **GitHub.com Fallback** ⚠️