We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e003262 commit e6e7a13Copy full SHA for e6e7a13
init.lua
@@ -546,7 +546,7 @@ local on_attach = function(_, bufnr)
546
547
-- See `:help K` for why this keymap
548
nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
549
- nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')
+ nmap('<leader>ck', vim.lsp.buf.signature_help, 'Signature Documentation')
550
551
-- Lesser used LSP functionality
552
nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
@@ -653,8 +653,8 @@ cmp.setup {
653
completeopt = 'menu,menuone,noinsert',
654
},
655
mapping = cmp.mapping.preset.insert {
656
- ['<C-n>'] = cmp.mapping.select_next_item(),
657
- ['<C-p>'] = cmp.mapping.select_prev_item(),
+ ['<C-j>'] = cmp.mapping.select_next_item(),
+ ['<C-k>'] = cmp.mapping.select_prev_item(),
658
['<C-d>'] = cmp.mapping.scroll_docs(-4),
659
['<C-f>'] = cmp.mapping.scroll_docs(4),
660
['<C-Space>'] = cmp.mapping.complete {},
0 commit comments