自動補全與大小寫敏感
set ignorecase
表19-1 觸發自動補全
命令 | 補全類型 |
---|---|
<C-n> |
普通關鍵字 |
<C-x><C-n> |
當前緩衝區關鍵字 |
<C-x><C-i> |
包含文件關鍵字 |
<C-x><C-]> |
標籤文件關鍵字 |
<C-x><C-k> |
字典查找 |
<C-x><C-l> |
整行補全 |
<C-x><C-f> |
文件名補全 |
<C-x><C-o> |
全能(omni)補全 |
按鍵 | 意義 |
---|---|
i_CTRL-X_CTRL-L |
Whole lines |
i_CTRL-X_CTRL-N |
keywords in the current file |
i_CTRL-X_CTRL-K |
keywords in ‘dictionary’ |
i_CTRL-X_CTRL-T |
keywords in ‘thesaurus’, thesaurus-style |
i_CTRL-X_CTRL-I |
keywords in the current and included files |
i_CTRL-X_CTRL-] |
tags |
i_CTRL-X_CTRL-F |
file names |
i_CTRL-X_CTRL-D |
definitions or macros |
i_CTRL-X_CTRL-V |
Vim command-line |
i_CTRL-X_CTRL-U |
User defined completion |
i_CTRL-X_CTRL-O |
omni completion |
i_CTRL-X_s |
Spelling suggestions |
i_CTRL-N |
keywords in ‘complete’ |