better lsp keys

This commit is contained in:
markus.dieckmann 2025-05-12 11:28:58 +02:00
parent e93d0952cd
commit 4dda237702
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,8 @@
{
"blink.cmp": { "branch": "main", "commit": "4f38ce99a472932d5776337f08f7a8180f1f571a" },
"blink.cmp": { "branch": "main", "commit": "5187cdaa3274c8f9c758e240ef4b0e793f295b47" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"conform.nvim": { "branch": "master", "commit": "374aaf384e2e841607b8e2fe63fa3ad01d111c91" },
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"fzf-lua": { "branch": "main", "commit": "b45881a2043d96506ba628f3bc65a4594b179c4e" },
"kanagawa.nvim": { "branch": "master", "commit": "4de88d695634a8776c687af8e7436cfa074aa0c0" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },

View File

@ -28,7 +28,7 @@ return {
map("<leader>gwd", require("fzf-lua").diagnostics_workspace, "[G]o [W]orkspace [D]iagnostics")
-- Find references for the word under your cursor.
map("<leader>gr", require("fzf-lua").lsp_references, "[G]oto [R]eferences")
map('gr', require('fzf-lua').lsp_references, '[G]oto [R]eferences')
-- Jump to the implementation of the word under your cursor.
map("<leader>gi", require("fzf-lua").lsp_implementations, "[G]oto [I]mplementation")
@ -36,10 +36,11 @@ return {
-- Jump to the definition of the word under your cursor.
-- This is where a variable was first declared, or where a function is defined, etc.
-- To jump back, press <C-t>.
map("<leader>gd", require("fzf-lua").lsp_definitions, "[G]oto [D]efinition")
map('gd', require('fzf-lua').lsp_definitions, '[G]oto [D]efinition')
-- WARN: This is not Goto Definition, this is Goto Declaration.
map("<leader>gD", vim.lsp.buf.declaration, "[G]oto [D]eclaration")
-- For example, in C this would take you to the header.
map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
-- Fuzzy find all the symbols in your current document.
map("<leader>gO", require("fzf-lua").lsp_document_symbols, "Open Document Symbols")