nvim: cancel completion with ← and →
This commit is contained in:
parent
ea3a117963
commit
13cb23e418
@ -37,7 +37,8 @@ packer.use {
|
||||
['<S-PageDown>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = cmp.mapping.abort(),
|
||||
['<End>'] = cmp.mapping.abort(),
|
||||
['<Left>'] = cmp.mapping.abort(),
|
||||
['<Right>'] = cmp.mapping.abort(),
|
||||
['<CR>'] = cmp.mapping.confirm({ select = false }),
|
||||
['<Tab>'] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
|
Loading…
x
Reference in New Issue
Block a user