Remove unused LSP keybinds
This commit is contained in:
parent
a16fb6fa02
commit
b068eb67c5
@ -51,16 +51,16 @@ if vim.fn.executable('lua-language-server') == 1 then
|
||||
})
|
||||
end
|
||||
|
||||
vim.keymap.set('n', '<C-s>', vim.lsp.buf.signature_help)
|
||||
vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition)
|
||||
vim.keymap.set('n', '<space>ca', vim.lsp.buf.code_action)
|
||||
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
||||
vim.keymap.set('n', '<space>f', function() vim.lsp.buf.format({async = true}) end)
|
||||
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist)
|
||||
-- vim.keymap.set('n', '<C-s>', vim.lsp.buf.signature_help)
|
||||
-- vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition)
|
||||
-- vim.keymap.set('n', '<space>ca', vim.lsp.buf.code_action)
|
||||
-- vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
||||
-- vim.keymap.set('n', '<space>f', function() vim.lsp.buf.format({async = true}) end)
|
||||
-- vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist)
|
||||
-- vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder)
|
||||
-- vim.keymap.set('n', '<space>wl', function() print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end)
|
||||
-- vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder)
|
||||
vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename)
|
||||
vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder)
|
||||
vim.keymap.set('n', '<space>wl', function() print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end)
|
||||
vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder)
|
||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover)
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next)
|
||||
|
Loading…
Reference in New Issue
Block a user