1
0
Fork 0

nvim: cmp: son't cancel on <Right>

This commit is contained in:
tastytea 2022-08-13 23:09:39 +02:00
parent f56d250688
commit ca55aaf459
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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