From ace838537718a4085655e5eb8d147cb20bf2fe2d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 28 Sep 2022 01:15:36 +0200 Subject: Remove legacy lsp keymaps --- fnl/config/which-key.fnl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 5cba39c..eeea0da 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -48,6 +48,7 @@ :h ["lua require('harpoon.ui').nav_prev()" "Harpoon Prev"] :t ["Telescope harpoon marks" "Search Files"] + :v ["lua vim.lsp.buf.rename()" :Rename] :r ["lua require('harpoon.ui').toggle_quick_menu()" "Harpoon UI"]}) @@ -92,18 +93,9 @@ (def- lsp {:name :LSP :a ["lua vim.lsp.buf.code_action()" "Code Action"] - :d ["Telescope lsp_document_diagnostics" - "Document Diagnostics"] - :w ["Telescope lsp_workspace_diagnostics" - "Workspace Diagnostics"] :f ["lua vim.lsp.buf.format { async = true }" :Format] :i [:LspInfo :Info] - :j ["lua vim.lsp.diagnostic.goto_next({buffer=0})" - "Next Diagnostic"] - :k ["lua vim.lsp.diagnostic.goto_prev({buffer=0})" - "Prev Diagnostic"] :l ["lua vim.lsp.codelens.run()" "CodeLens Action"] - :q ["lua vim.lsp.diagnostic.set_loclist()" :Quickfix] :r ["lua vim.lsp.buf.rename()" :Rename] :s ["Telescope lsp_document_symbols" "Document Symbols"] :S ["Telescope lsp_dynamic_workspace_symbols" -- cgit v1.2.3-70-g09d2