mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-31 07:03:36 +00:00
~
This commit is contained in:
parent
4af0230d75
commit
f6ea7b572b
1 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,8 @@
|
|||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.number = true
|
||||
|
||||
-- cmp
|
||||
local cmp = require("cmp")
|
||||
cmp.setup {
|
||||
|
@ -28,8 +30,8 @@
|
|||
end
|
||||
},
|
||||
mapping = {
|
||||
['<C-p>'] = cmp.mapping.select_prev_item(),
|
||||
['<C-n>'] = cmp.mapping.select_next_item(),
|
||||
['<C-up>'] = cmp.mapping.select_prev_item(),
|
||||
['<C-down>'] = cmp.mapping.select_next_item(),
|
||||
['<C-space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = cmp.mapping.close(),
|
||||
['<tab>'] = cmp.mapping.confirm { select = true }
|
||||
|
|
Loading…
Reference in a new issue