23.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.1123.11
This commit is contained in:
parent
c956dfb659
commit
a8d1888580
5 changed files with 13 additions and 10 deletions
|
|
@ -92,6 +92,8 @@
|
|||
gimp
|
||||
godot_4
|
||||
inkscape
|
||||
imagemagick
|
||||
ghostscript
|
||||
scrcpy
|
||||
|
||||
# web
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ lua <<EOF
|
|||
['<C-p>'] = cmp.mapping.select_prev_item(),
|
||||
['<C-n>'] = cmp.mapping.select_next_item(),
|
||||
['<C-g>'] = cmp.mapping.abort(),
|
||||
['<Tab>'] = cmp.mapping.confirm({ select = true }),
|
||||
-- ['<Tab>'] = cmp.mapping.confirm({ select = true }),
|
||||
['<Cr>'] = cmp.mapping.confirm({ select = false }),
|
||||
},
|
||||
sources = cmp.config.sources({
|
||||
|
|
@ -53,6 +53,7 @@ lua <<EOF
|
|||
local on_attach = function(_, _)
|
||||
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, {})
|
||||
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, {})
|
||||
vim.keymap.set('n', '<leader>f', vim.lsp.buf.format, {})
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {})
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, {})
|
||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue