From 0d1875284ebe2457ecd6962dec929aa1905d4b09 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 3 Dec 2025 17:25:02 +0100 Subject: [PATCH] rd is a weird choice, I don't like it --- common/nvim/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/nvim/init.lua b/common/nvim/init.lua index 7a1f21d..76f37c3 100644 --- a/common/nvim/init.lua +++ b/common/nvim/init.lua @@ -497,20 +497,20 @@ require('lazy').setup({ map('ca', vim.lsp.buf.code_action, '[C]ode [A]ction', { 'n', 'x' }) -- Find references for the word under your cursor. - map('rr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences') + map('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences') -- Jump to the implementation of the word under your cursor. -- Useful when your language has ways of declaring types without an actual implementation. - map('ri', require('telescope.builtin').lsp_implementations, '[G]oto [I]mplementation') + map('gi', require('telescope.builtin').lsp_implementations, '[G]oto [I]mplementation') -- 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 . - map('rd', require('telescope.builtin').lsp_definitions, '[G]oto [D]efinition') + map('gd', require('telescope.builtin').lsp_definitions, '[G]oto [D]efinition') -- WARN: This is not Goto Definition, this is Goto Declaration. -- For example, in C this would take you to the header. - map('rD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') + map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') -- Fuzzy find all the symbols in your current document. -- Symbols are things like variables, functions, types, etc.