Only enable Codeium if manually triggered once

... So I no longer have to use Nano when editing Ansible vaults
This commit is contained in:
Emmanuel BENOîT 2023-08-28 09:43:06 +02:00
parent 24ca06d528
commit 67daee9e57
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg
2 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1 @@
imap <script><silent><nowait><expr> <Tab> codeium#Accept()

View file

@ -1,6 +1,8 @@
call dein#add('Exafunction/codeium.vim') call dein#add('Exafunction/codeium.vim', #{
\ lazy: 1,
\ on_map: #{ i: '<F2>' },
\ })
imap <script><silent><nowait><expr> <Tab> codeium#Accept()
imap <F2> <Cmd>call codeium#Complete()<CR> imap <F2> <Cmd>call codeium#Complete()<CR>
imap <F3> <Cmd>call codeium#CycleCompletions(1)<CR> imap <F3> <Cmd>call codeium#CycleCompletions(1)<CR>
imap <F4> <Cmd>call codeium#CycleCompletions(-1)<CR> imap <F4> <Cmd>call codeium#CycleCompletions(-1)<CR>