This commit is contained in:
meml0rz
2024-11-12 23:10:18 +01:00
parent ea13297b18
commit 7f18bd4b26
2 changed files with 3 additions and 15 deletions

View File

@ -14,20 +14,8 @@
"<C-e>" = "cmp.mapping.close()"; "<C-e>" = "cmp.mapping.close()";
"<C-f>" = "cmp.mapping.scroll_docs(4)"; "<C-f>" = "cmp.mapping.scroll_docs(4)";
"<CR>" = "cmp.mapping.confirm({ select = true })"; "<CR>" = "cmp.mapping.confirm({ select = true })";
"<S-Tab>" = { "<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
action = "cmp.mapping.select_prev_item()"; "<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
modes = [
"i"
"s"
];
};
"<Tab>" = {
action = "cmp.mapping.select_next_item()";
modes = [
"i"
"s"
];
};
}; };
}; };
}; };

View File

@ -19,7 +19,7 @@
vim.opt.autoindent = true vim.opt.autoindent = true
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.softtabstop = 4 vim.opt.softtabstop = 4
vim.opt.numbers = true; vim.opt.number = true;
vim.cmd [[ vim.cmd [[
cnoreabbrev W! w! cnoreabbrev W! w!
cnoreabbrev Q! q! cnoreabbrev Q! q!