nvim: cmp: son't cancel on <Right>
This commit is contained in:
parent
f56d250688
commit
ca55aaf459
@ -37,7 +37,6 @@ packer.use {
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = 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
|
||||
|
@ -5,7 +5,6 @@ vim.o.textwidth = 80 -- default text width
|
||||
vim.o.colorcolumn = tostring(vim.o.textwidth)
|
||||
vim.o.wrap = false -- don't wrap long lines
|
||||
vim.o.linebreak = true -- break on word boundaries
|
||||
|
||||
vim.o.cursorline = true -- highlight row with cursor
|
||||
vim.o.scrolloff = 5 -- show 5 lines below/above cursor
|
||||
vim.o.sidescrolloff = 5 -- same for left/right
|
||||
|
Loading…
x
Reference in New Issue
Block a user