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-f>" = "cmp.mapping.scroll_docs(4)";
"<CR>" = "cmp.mapping.confirm({ select = true })";
"<S-Tab>" = {
action = "cmp.mapping.select_prev_item()";
modes = [
"i"
"s"
];
};
"<Tab>" = {
action = "cmp.mapping.select_next_item()";
modes = [
"i"
"s"
];
};
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
};
};
};

View File

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