From f8f6a67ce15cf51e1ba859ea004d8ace54888d0f Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Thu, 7 Mar 2024 10:23:34 +0800 Subject: [PATCH] chore: rename to for consistency So far init.lua lowercased all key mappings. As a vim nob I then assumed that means ctrl+shift+t Because this one was suddenly uppercased. But seems like the casing is ignored and I had to actually press ctrl+t or is this my terminal emulator messing with me and ctrl+shift+t also works. And ctrl+t is just the fallback because of the ctrl+shift problem with terminal emulators? $ grep -Er '' init.lua lua/ | wc -l 1 $ grep -Er '' init.lua lua/ | wc -l 12 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3bdb5e3..220ff75 100644 --- a/init.lua +++ b/init.lua @@ -456,7 +456,7 @@ require('lazy').setup({ -- 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 . + -- To jump back, press . map('gd', require('telescope.builtin').lsp_definitions, '[G]oto [D]efinition') -- Find references for the word under your cursor.