Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ins-completion]

The tag has no usage guidance.

0
votes
0answers
13 views

Mapping to have completion attempt one mode and fall back to another if no completions found

I am attempting to map ,<tab> in insert mode to first attempt omnicompletion then fall back to <c-p> or <c-x><c-p> completion. I have used this reference to successfully send ...
0
votes
0answers
47 views

Change the behavior of CTRL-X submode key bindings

I wanted to change the behavior of some keys in the :h i_CTRL-X submode. For example, I wanted to use the following: inoremap <expr> <C-f> pumvisible() ? "\<C-x>\<C-f>" : "<...
2
votes
0answers
16 views

How to omit dictionary source file in dictionary completion

<C-X><C-K> complete words with long dictionary file name, such as /home/xxx/.vim/mydict. I'd like to omit or shorten the descriptive info. I have googled but got no hints. Any advice?
0
votes
1answer
28 views

Explain `infercase` option

I don't understand what :h infercase is supposed to do. I tried out some scenarios, but still can't figure out the differences between when it is turned off and on. Can someone explain it to me, ...