add more neovim plugins and alias eza for ls in zsh
This commit is contained in:
parent
b2322f2877
commit
874cd444ba
13 changed files with 228 additions and 13 deletions
|
@ -37,11 +37,17 @@ return {
|
|||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-k>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
||||
["<C-j>"] = cmp.mapping.select_next_item(), -- next suggestion
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-l>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-;>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||
["<C-e>"] = cmp.mapping.abort(), -- close completion window
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
return cmp.complete_common_string()
|
||||
end
|
||||
fallback()
|
||||
end, {'i','c'}),
|
||||
}),
|
||||
-- sources for autocompletion
|
||||
sources = cmp.config.sources({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue