This commit is contained in:
newbie 2023-12-18 23:34:23 +08:00
parent eed785a3e6
commit a1c9ef545c

View File

@ -133,7 +133,7 @@ return {
}
require("symbols-outline").setup(opts)
G.map({
{ "n", "<cs-o>", "<cmd>SymbolsOutline<cr>", { noremap = true } },
{ "n", "<leader>o", "<cmd>SymbolsOutline<cr>", { noremap = true } },
{ "v", "<cs-o>", "<cmd>SymbolsOutline<cr>", { noremap = true } },
})
end
@ -231,8 +231,7 @@ return {
entries = { name = 'wildmenu', separator = '|' }
},
sources = cmp.config.sources({
{ name = 'path' },
{ name = 'cmdline' },
{ name = 'buffer' },
}),
mapping = cmp.mapping.preset.insert({
['<CR>'] = cmp.mapping.confirm({ select = true }),